Submission #696

#TimeUsernameProblemLanguageResultExecution timeMemory
696gs12013쉬운 문제 (GA3_easy)C++98
Compilation error
0 ms0 KiB
#include <stdio.h> int CountPair(int N, int *A) { int i, j, ans = 0; for(i=0;i<n-1;i++) for(j=0;j<n;j++) if(!(A[j]%A[i])) ans++; return ans; }

Compilation message (stderr)

grader.cpp:26:2: warning: no newline at end of file
easy.cpp: In function 'int CountPair(int, int*)':
easy.cpp:6: error: 'n' was not declared in this scope