Demo entry 6716541



Submitted by anonymous on Feb 20, 2018 at 20:34
Language: Java. Code size: 267 Bytes.

 public static boolean distinct(int a[]){
        for (int i =0;i<a.length;i++){
            for(int j=i+1;j<a.length;j++){
                    return false;
        return true;

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).