#include<stdio.h>
int main() {
int n,k,i,j;
scanf("%d",&n);
for(i=1;i<=n;i++)scanf("%d",&k);
scanf("%d",&j);
printf("%d",k+j-n);
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
2 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
3 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
4 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
5 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
2 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
3 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
4 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
5 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
6 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
7 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
8 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
9 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
10 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
2 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
3 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
4 |
Incorrect |
5 ms |
1084 KB |
Output isn't correct |
5 |
Incorrect |
2 ms |
1084 KB |
Output isn't correct |
6 |
Incorrect |
5 ms |
1084 KB |
Output isn't correct |
7 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
8 |
Incorrect |
4 ms |
1084 KB |
Output isn't correct |
9 |
Incorrect |
6 ms |
1084 KB |
Output isn't correct |
10 |
Incorrect |
7 ms |
1084 KB |
Output isn't correct |
11 |
Incorrect |
7 ms |
1084 KB |
Output isn't correct |
12 |
Correct |
4 ms |
1084 KB |
Output is correct |
13 |
Incorrect |
9 ms |
1084 KB |
Output isn't correct |
14 |
Incorrect |
4 ms |
1084 KB |
Output isn't correct |
15 |
Incorrect |
3 ms |
1084 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
2 |
Incorrect |
5 ms |
1084 KB |
Output isn't correct |
3 |
Incorrect |
5 ms |
1084 KB |
Output isn't correct |
4 |
Incorrect |
6 ms |
1084 KB |
Output isn't correct |
5 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
6 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
7 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
8 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
9 |
Incorrect |
4 ms |
1084 KB |
Output isn't correct |
10 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
11 |
Incorrect |
5 ms |
1084 KB |
Output isn't correct |
12 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
13 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
14 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
15 |
Correct |
4 ms |
1084 KB |
Output is correct |