Problem | findingpavement |
---|---|
User | Jeanine |
Submission Time | 2024-06-18 13:46:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
findingpavement.cpp: In function ‘int main()’:
findingpavement.cpp:4:25: error: expected ‘;’ before ‘string’
4 | int h, w; cin >> h >> w
| ^
| ;
5 | string arr[h][w]
| ~~~~~~
findingpavement.cpp:6:11: error: ‘i’ was not declared in this scope
6 | for (i=0;i<h; i++) {
| ^
findingpavement.cpp:10:1: error: expected ‘}’ at end of input
10 | }
| ^
findingpavement.cpp:3:13: note: to match this ‘{’
3 | int main () {
| ^