Submission #695

# Submission time Handle Problem Language Result Execution time Memory
695 2013-03-01T05:49:45 Z gs12013 쉬운 문제 (GA3_easy) C++
Compilation error
0 ms 0 KB
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

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