| # | Time | Username | Problem | Language | Result | Execution time | Memory | 
|---|---|---|---|---|---|---|---|
| 4978 | lingxiang | 쉬운 문제 (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.
int CountPair(int N,int a[])
{
  int cnt=0;
  for(int i=0;i<N;i++)
  {
    for(int j=i+1;j<N;j++)
    {
      if(a[j]%a[i]==0) cnt++;
    }
  }
  printf("%d",cnt);
  return 0;
}
