Submission #818

# Submission time Handle Problem Language Result Execution time Memory
818 2013-03-03T06:46:31 Z tncks0121 쉬운 문제 (GA3_easy) C++
0 / 100
0 ms 16384 KB
int test_array[5000000];
int CountPair(int N, int *A){
  int i, j, ret=0;
  for(i=0; i<N; i++){
    for(j=i+1; j<N; j++) {
      if(A[j]%A[i] == 0) ++ret;
    }
  }
  return ret;
}
# Verdict Execution time Memory Grader output
1 Memory limit exceeded 0 ms 16384 KB Memory limit exceeded
2 Halted 0 ms 0 KB -
3 Halted 0 ms 0 KB -
4 Halted 0 ms 0 KB -
5 Halted 0 ms 0 KB -
6 Halted 0 ms 0 KB -
7 Halted 0 ms 0 KB -
8 Halted 0 ms 0 KB -
9 Halted 0 ms 0 KB -
10 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Memory limit exceeded 0 ms 16384 KB Memory limit exceeded
2 Halted 0 ms 0 KB -
3 Halted 0 ms 0 KB -
4 Halted 0 ms 0 KB -
5 Halted 0 ms 0 KB -
6 Halted 0 ms 0 KB -
7 Halted 0 ms 0 KB -
8 Halted 0 ms 0 KB -
9 Halted 0 ms 0 KB -
10 Halted 0 ms 0 KB -