# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
14259 | khsoo01 | 쉬운 문제 (GA3_easy) | C++98 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#import<iostream>
int i,j,n,a[99],c;main(){std::cin>>n;for(i=0;i<n;i++)std::cin>>a[i];for(i=0;i<n;i++)for(j=i+1;j<n;j++)if(a[j]%a[i]==0)c++;std::cout<<c;}