Problem | badpotato |
---|---|
User | Astronite |
Submission Time | 2025-08-25 16:42:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
badpotato.cpp: In function ‘int main()’:
badpotato.cpp:8:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
8 | int arr[n];
| ^
| yn
badpotato.cpp:11:11: error: ‘arr’ was not declared in this scope
11 | cin>> arr[i];
| ^~~
badpotato.cpp:14:7: error: ‘furry’ was not declared in this scope
14 | furry+= arr[i];
| ^~~~~
badpotato.cpp:18:11: error: ‘furry’ was not declared in this scope
18 | if (furry > notfurry)
| ^~~~~
badpotato.cpp:18:19: error: ‘notfurry’ was not declared in this scope
18 | if (furry > notfurry)
| ^~~~~~~~
badpotato.cpp:22:7: error: ‘furry’ was not declared in this scope
22 | furry = 0;
| ^~~~~
badpotato.cpp:26:11: error: ‘furry’ was not declared in this scope
26 | if (furry > notfurry)
| ^~~~~
ba