# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
1077267 |
2024-08-27T04:26:49 Z |
YudoTLE |
Feast (NOI19_feast) |
C++17 |
|
89 ms |
3408 KB |
#include <bits/stdc++.h>
using namespace std;
int main()
{
int n, k;
cin >> n >> k;
long long answer = 0;
for (int i = 0; i < n; i++)
{
int x; cin >> x;
answer += x;
}
cout << answer << '\n';
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
80 ms |
3152 KB |
Output is correct |
2 |
Correct |
81 ms |
3208 KB |
Output is correct |
3 |
Correct |
72 ms |
3088 KB |
Output is correct |
4 |
Correct |
89 ms |
3160 KB |
Output is correct |
5 |
Correct |
74 ms |
3156 KB |
Output is correct |
6 |
Correct |
69 ms |
3156 KB |
Output is correct |
7 |
Correct |
69 ms |
3212 KB |
Output is correct |
8 |
Correct |
81 ms |
3164 KB |
Output is correct |
9 |
Correct |
72 ms |
3152 KB |
Output is correct |
10 |
Correct |
75 ms |
3092 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
50 ms |
1444 KB |
Output is correct |
2 |
Correct |
35 ms |
1368 KB |
Output is correct |
3 |
Incorrect |
36 ms |
1364 KB |
Output isn't correct |
4 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
80 ms |
3408 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
344 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
344 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
344 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
80 ms |
3152 KB |
Output is correct |
2 |
Correct |
81 ms |
3208 KB |
Output is correct |
3 |
Correct |
72 ms |
3088 KB |
Output is correct |
4 |
Correct |
89 ms |
3160 KB |
Output is correct |
5 |
Correct |
74 ms |
3156 KB |
Output is correct |
6 |
Correct |
69 ms |
3156 KB |
Output is correct |
7 |
Correct |
69 ms |
3212 KB |
Output is correct |
8 |
Correct |
81 ms |
3164 KB |
Output is correct |
9 |
Correct |
72 ms |
3152 KB |
Output is correct |
10 |
Correct |
75 ms |
3092 KB |
Output is correct |
11 |
Correct |
50 ms |
1444 KB |
Output is correct |
12 |
Correct |
35 ms |
1368 KB |
Output is correct |
13 |
Incorrect |
36 ms |
1364 KB |
Output isn't correct |
14 |
Halted |
0 ms |
0 KB |
- |