Submission #753

#TimeUsernameProblemLanguageResultExecution timeMemory
753CodingIsHard쉬운 문제 (GA3_easy)C++98
40 / 100
0 ms916 KiB
#include <algorithm> int CountPair(int N, int *A) { int cnt = 0; std::sort(A , A + N); for(int i = 0;i < N;i++) for(int j = i + 1;j < N;j++) if(A[j] % A[i] == 0) cnt++; return cnt; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...