Submission #2917

#TimeUsernameProblemLanguageResultExecution timeMemory
2917kipa00쉬운 문제 (GA3_easy)C++98
100 / 100
0 ms1088 KiB
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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...