#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int maxn = 1e6 + 100, inf = 1e9 + 100;
int main(){
ios::sync_with_stdio(0);
int n, L, R;
ll s = 0;
cin >> n >> L >> R;
if (L == 1){
while (n--){
int x;
cin >> x;
s += x;
}
cout << s;
return 0;
}
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
2 ms |
504 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
2 ms |
504 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
2 ms |
672 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
2 ms |
784 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
2 ms |
916 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |