Submission #7067

#TimeUsernameProblemLanguageResultExecution timeMemory
7067gs14004쉬운 문제 (GA3_easy)C++98
100 / 100
0 ms1088 KiB
int CountPair(int N,int* A){ int *a = A; int n = N; int i,j=1,r=0; for (i=0; i<n-1; i++) { for (j=i+1; j<n; j++) { if(a[j]%a[i]==0) r++; } } return r; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...