Submission #21137

#TimeUsernameProblemLanguageResultExecution timeMemory
21137h0ngjun7쉬운 문제 (GA3_easy)C++14
100 / 100
0 ms1116 KiB
int CountPair(int N, int *A) { int res = 0; for (int i = 0; i < N; i++) { for (int j = i + 1; j < N; j++) { if (A[j] % A[i] == 0) res++; } } return res; }

Compilation message (stderr)


#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...