Submission #792090

# Submission time Handle Problem Language Result Execution time Memory
792090 2023-07-24T15:01:02 Z vjudge1 Feast (NOI19_feast) C++17
4 / 100
89 ms 4196 KB
#include <bits/stdc++.h>
using namespace std;
int main() {
    int n, k;
    cin >> n >> k;
    vector <long long> arr(n);
    long long sum = 0;
    for (int i = 0; i < n; i++) {
         cin >> arr[i];
         sum += arr[i];
    }
    cout << sum;
}
# Verdict Execution time Memory Grader output
1 Correct 84 ms 4020 KB Output is correct
2 Correct 82 ms 4196 KB Output is correct
3 Correct 83 ms 4096 KB Output is correct
4 Correct 84 ms 4152 KB Output is correct
5 Correct 82 ms 4136 KB Output is correct
6 Correct 80 ms 4032 KB Output is correct
7 Correct 80 ms 4020 KB Output is correct
8 Correct 82 ms 4104 KB Output is correct
9 Correct 82 ms 4120 KB Output is correct
10 Correct 81 ms 4124 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 42 ms 3288 KB Output is correct
2 Correct 44 ms 3328 KB Output is correct
3 Incorrect 53 ms 3324 KB Output isn't correct
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 89 ms 4044 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 84 ms 4020 KB Output is correct
2 Correct 82 ms 4196 KB Output is correct
3 Correct 83 ms 4096 KB Output is correct
4 Correct 84 ms 4152 KB Output is correct
5 Correct 82 ms 4136 KB Output is correct
6 Correct 80 ms 4032 KB Output is correct
7 Correct 80 ms 4020 KB Output is correct
8 Correct 82 ms 4104 KB Output is correct
9 Correct 82 ms 4120 KB Output is correct
10 Correct 81 ms 4124 KB Output is correct
11 Correct 42 ms 3288 KB Output is correct
12 Correct 44 ms 3328 KB Output is correct
13 Incorrect 53 ms 3324 KB Output isn't correct
14 Halted 0 ms 0 KB -