# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
938556 |
2024-03-05T10:12:59 Z |
Lilypad |
Feast (NOI19_feast) |
C++14 |
|
96 ms |
4500 KB |
#include<bits/stdc++.h>
using namespace std;
#define ll int
#define pii pair<ll,ll>
#define pb push_back
#define fi first
#define se second
const ll N = 3e5+3;
ll n,k,sum,a[N];
int main() {
cin >> n >> k;
for(int i=1; i<=n; i++) {
cin >> a[i];
sum += a[i];
}
cout << sum << endl;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
77 ms |
4184 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
42 ms |
2640 KB |
Output is correct |
2 |
Correct |
44 ms |
2512 KB |
Output is correct |
3 |
Incorrect |
42 ms |
2648 KB |
Output isn't correct |
4 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
96 ms |
4500 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
348 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
348 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
348 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
77 ms |
4184 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |