#include<stdio.h>
int n, ba[10000], m;
int main(){
int i;
scanf("%d", &n);
for(i=1; i<=n; i++)scanf("%d", &ba[i]);
scanf("%d", &m);
printf("%d", ba[m]);
return 0;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
1120 KB |
Output is correct |
2 |
Correct |
0 ms |
1120 KB |
Output is correct |
3 |
Correct |
0 ms |
1120 KB |
Output is correct |
4 |
Correct |
0 ms |
1120 KB |
Output is correct |
5 |
Correct |
0 ms |
1120 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
2 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
3 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
4 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
5 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
6 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
7 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
8 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
9 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
10 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Runtime error |
0 ms |
1116 KB |
SIGSEGV Segmentation fault |
2 |
Runtime error |
0 ms |
1116 KB |
SIGSEGV Segmentation fault |
3 |
Incorrect |
1 ms |
1120 KB |
Output isn't correct |
4 |
Runtime error |
0 ms |
1116 KB |
SIGSEGV Segmentation fault |
5 |
Runtime error |
0 ms |
1116 KB |
SIGSEGV Segmentation fault |
6 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
7 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
8 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
9 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
10 |
Runtime error |
0 ms |
1116 KB |
SIGSEGV Segmentation fault |
11 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
12 |
Runtime error |
0 ms |
1116 KB |
SIGSEGV Segmentation fault |
13 |
Incorrect |
2 ms |
1120 KB |
Output isn't correct |
14 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
15 |
Runtime error |
0 ms |
1116 KB |
futex (syscall #202) was called by the program (disallowed syscall) |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
2 |
Runtime error |
0 ms |
1116 KB |
SIGSEGV Segmentation fault |
3 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
4 |
Runtime error |
0 ms |
1116 KB |
SIGSEGV Segmentation fault |
5 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
6 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
7 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
8 |
Incorrect |
1 ms |
1120 KB |
Output isn't correct |
9 |
Runtime error |
1 ms |
1116 KB |
futex (syscall #202) was called by the program (disallowed syscall) |
10 |
Runtime error |
0 ms |
1116 KB |
futex (syscall #202) was called by the program (disallowed syscall) |
11 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
12 |
Runtime error |
0 ms |
1116 KB |
futex (syscall #202) was called by the program (disallowed syscall) |
13 |
Runtime error |
0 ms |
1116 KB |
SIGSEGV Segmentation fault |
14 |
Incorrect |
0 ms |
1120 KB |
Output isn't correct |
15 |
Runtime error |
0 ms |
1116 KB |
SIGSEGV Segmentation fault |