Problem | sum |
---|---|
User | wzhci11 |
Submission Time | 2024-12-02 10:21:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sum.cpp: In function ‘int main()’:
sum.cpp:7:2: error: ‘ll’ was not declared in this scope
7 | ll x, s1 = 0, s2 = 0, a, b;
| ^~
sum.cpp:8:9: error: ‘x’ was not declared in this scope
8 | cin >> x;
| ^
sum.cpp:9:9: error: expected ‘;’ before ‘i’
9 | for (ll i = 0; i < x; ++i) {
| ^~
| ;
sum.cpp:9:17: error: ‘i’ was not declared in this scope
9 | for (ll i = 0; i < x; ++i) {
| ^
sum.cpp:10:10: error: ‘a’ was not declared in this scope
10 | cin >> a >> b;
| ^
sum.cpp:10:15: error: ‘b’ was not declared in this scope
10 | cin >> a >> b;
| ^
sum.cpp:11:3: error: ‘s1’ was not declared in this scope; did you mean ‘y1’?
11 | s1 += a;
| ^~
| y1
sum.cpp:12:3: error: ‘s2’ was not declared in this scope
12 | s2 += b;
|