Submission #12834

#TimeUsernameProblemLanguageResultExecution timeMemory
12834yongwhan쉬운 문제 (GA3_easy)C++98
100 / 100
0 ms1088 KiB
int CountPair(int N, int A[]) { int ret=0; for (int i=0; i<N; i++) for (int j=i+1; j<N; j++) { int x=A[i], y=A[j]; if(x) if(y%x==0) ret++; } return ret; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...