Problem laptop
User yhmixeI
Submission Time 2024-06-21 13:37:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

laptop.cpp: In function ‘int main()’:
laptop.cpp:7:7: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | int o[n+5];
| ^
| yn
laptop.cpp:14:1: error: ‘o’ was not declared in this scope
14 | o[y] = c;
| ^
laptop.cpp:18:2: error: ‘p’ was not declared in this scope
18 | p[w] = c;
| ^
laptop.cpp:24:8: error: ‘o’ was not declared in this scope
24 | if (l>=o[i]) {
| ^
laptop.cpp:32:8: error: ‘p’ was not declared in this scope
32 | if (l>=p[i]) {
| ^
laptop.cpp:38:1: error: expected ‘}’ at end of input
38 | }
| ^
laptop.cpp:6:15: note: to match this ‘{’
6 | signed main() {
| ^