#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;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
1300 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
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 |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
1300 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
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 |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
17 ms |
1300 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
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 |
- |