Problem findingpavement
User Kiameimon
Submission Time 2023-12-25 20:21:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

findingpavement.cpp: In function ‘int main()’:
findingpavement.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
findingpavement.cpp:8:2: note: in expansion of macro ‘int’
8 | int h, w; cin >> h >> w;
| ^~~
findingpavement.cpp:8:6: error: ‘h’ was not declared in this scope
8 | int h, w; cin >> h >> w;
| ^
findingpavement.cpp:8:9: error: ‘w’ was not declared in this scope
8 | int h, w; cin >> h >> w;
| ^
findingpavement.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
findingpavement.cpp:9:6: note: in expansion of macro ‘int’
9 | for(int i = 1; i <= w; i++){
| ^~~
findingpavement.cpp:9:10: error: ‘i’ was not declared in this scope
9 | for(int i = 1; i <= w; i+