Submission #8522

#TimeUsernameProblemLanguageResultExecution timeMemory
8522eric4266쉬운 문제 (GA3_easy)C++98
Compilation error
0 ms0 KiB
include <stdio.h> int main() { int i,j,n,A[51],ans=0; scanf("%d",&n); for(i=1;i<=n;i++) { scanf("%d",&A[i]); } for(i=1;i<=n;i++) { for(j=n;j>0;j--) { if(A[j]%A[i]==0&&i<j) ans++; } } printf("%d",ans); return 0; }

Compilation message (stderr)

easy.cpp:1:1: error: 'include' does not name a type