Problem permutationgrid
User darius0
Submission Time 2024-12-07 14:31:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

permutationgrid.cpp: In function ‘int main()’:
permutationgrid.cpp:10:19: error: expected ‘;’ before ‘<’ token
10 | for(int j = 0, j < w, j++){
| ^~
| ;
permutationgrid.cpp:10:20: error: expected primary-expression before ‘<’ token
10 | for(int j = 0, j < w, j++){
| ^
permutationgrid.cpp:10:28: error: expected ‘;’ before ‘)’ token
10 | for(int j = 0, j < w, j++){
| ^
| ;
permutationgrid.cpp:13:6: error: expected primary-expression before ‘=’ token
13 | = i;
| ^
permutationgrid.cpp:19:13: error: ‘xy’ was not declared in this scope; did you mean ‘y’?
19 | while (arr[xy][y < h*w){
| ^~
| y
permutationgrid.cpp:19:24: error: expected ‘]’ before ‘)’ token
19 | while (arr[xy][y < h*w){
|