Submission #754

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