Problem illuminate
User TheFelixKS
Submission Time 2024-03-03 17:01:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

illuminate.cpp: In function ‘int main()’:
illuminate.cpp:9:27: error: declaration does not declare anything [-fpermissive]
9 | #define int unsigned long long;
| ^~~~
illuminate.cpp:15:2: note: in expansion of macro ‘int’
15 | int w,h;cin>>w>>h;
| ^~~
illuminate.cpp:15:6: error: ‘w’ was not declared in this scope
15 | int w,h;cin>>w>>h;
| ^
illuminate.cpp:15:8: error: ‘h’ was not declared in this scope
15 | int w,h;cin>>w>>h;
| ^
illuminate.cpp:9:27: error: declaration does not declare anything [-fpermissive]
9 | #define int unsigned long long;
| ^~~~
illuminate.cpp:17:2: note: in expansion of macro ‘int’
17 | int** world = new int*[w];
| ^~~
illuminate.cpp:17:8: error: ‘world’ was not declared in this scope
17 | int** world = new int*[w];
| ^~~~~