Problem findingpavement
User Zubair
Submission Time 2026-06-24 15:54:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

findingpavement.cpp: In function ‘int main()’:
findingpavement.cpp:7:19: error: expected ‘;’ before ‘for’
7 | cin >> H >> W
| ^
| ;
8 |
9 | for (int i = 1; i <= H; i++) {
| ~~~
findingpavement.cpp:9:21: error: ‘i’ was not declared in this scope
9 | for (int i = 1; i <= H; i++) {
| ^