Problem permutationgrid
User guru1396
Submission Time 2024-12-07 09:53:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

permutationgrid.cpp: In function ‘int main()’:
permutationgrid.cpp:42:1: error: expected ‘}’ at end of input
42 | }
| ^
permutationgrid.cpp:17:17: note: to match this ‘{’
17 | if (i-1 >= 0){
| ^
permutationgrid.cpp:42:1: error: expected ‘}’ at end of input
42 | }
| ^
permutationgrid.cpp:15:30: note: to match this ‘{’
15 | for (int j = 0; j < w; j++){
| ^
permutationgrid.cpp:42:1: error: expected ‘}’ at end of input
42 | }
| ^
permutationgrid.cpp:14:29: note: to match this ‘{’
14 | for (int i = 0; i < h; i++){
| ^
permutationgrid.cpp:42:1: error: expected ‘}’ at end of input
42 | }
| ^
permutationgrid.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^