Problem | snack |
---|---|
User | ultbiaslia |
Submission Time | 2023-11-10 09:47:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
snack.cpp:24:27: error: missing terminating ' character
24 | cout << s[b] - ss[a-1] <<'n\';
| ^~~~~
snack.cpp:2:20: error: expected ‘;’ before ‘int32_t’
2 | using namespace std
| ^
| ;
......
5 | int32_t main()
| ~~~~~~~
snack.cpp: In function ‘int32_t main()’:
snack.cpp:17:7: error: redeclaration of ‘long long int ss [(n + 1)]’
17 | int ss [n+1];
| ^~
snack.cpp:12:6: note: ‘long long int ss [(n + 1)]’ previously declared here
12 | int ss[n +1];
| ^~
snack.cpp:23:9: error: ‘a’ was not declared in this scope
23 | cin >> a >> b;
| ^
snack.cpp:23:14: error: ‘b’ was not declared in this scope
23 | cin >> a >> b;
| ^
snack.cpp:24:10: error: ‘s’ was not declared in this scope; did you mean ‘ss’?
24 |