Submission #8522

# Submission time Handle Problem Language Result Execution time Memory
8522 2014-09-16T00:54:53 Z eric4266 쉬운 문제 (GA3_easy) C++
Compilation error
0 ms 0 KB
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

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