Submission #2159

# Submission time Handle Problem Language Result Execution time Memory
2159 2013-07-20T06:08:59 Z tncks0121 지우개 (GA4_eraser) C++
0 / 100
17 ms 1300 KB
#include <stdio.h>
#include <algorithm>
#include <assert.h>

int a[100005];

int main() {
  int n;
  scanf("%d", &n);
  for(int i = 1; i <= n; i++) scanf("%d", a+i);
  std::sort(a+1, a+n+1);
  
  for(int i = 2; i <= n; i++) {
    assert(a[i] != a[i - 1]);
  }
  return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 1300 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 0 ms 1300 KB gettid (syscall #186) was called by the program (disallowed syscall)
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 1300 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 0 ms 1300 KB gettid (syscall #186) was called by the program (disallowed syscall)
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 17 ms 1300 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 17 ms 1300 KB gettid (syscall #186) was called by the program (disallowed syscall)
2 Halted 0 ms 0 KB -