This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <iostream>
#include <set>
#include <cstdio>
#include <algorithm>
#include <queue>
#include <vector>
#include <cstdlib>
#include <memory.h>
#include <sstream>
#include <math.h>
using namespace std;
#define INF 1<<30
int CountPair(int N, int * A) {
int res = 0;
for(int i = 0;i<N;i++) {
for(int j = i + 1;j<N;j++) {
if(A[j]%A[i] == 0) res++;
}
}
return res;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |