# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
2917 | kipa00 | 쉬운 문제 (GA3_easy) | C++98 | 0 ms | 1088 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
int cnt[101];
int CountPair(int N, int *A) {
int i, j, sum = 0;
for (i=0; i<N; ++i) {
for (j=i+1; j<N; ++j) {
if (*(A + j) % *(A + i) == 0) {
++sum;
}
}
}
return sum;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |