Problem | sumint |
---|---|
User | 583116UB |
Submission Time | 2024-04-13 11:07:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:5:11: error: ‘a’ was not declared in this scope
5 | cin>>n>>a>>b;
| ^
sumint.cpp:5:14: error: ‘b’ was not declared in this scope
5 | cin>>n>>a>>b;
| ^
sumint.cpp:7:10: error: ‘letters’ was not declared in this scope
7 | int a =letters[0], b =letters[n-1];
| ^~~~~~~