| Problem | permutationgrid | 
|---|---|
| User | xragon | 
| Submission Time | 2024-12-07 10:19:34 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 permutationgrid.cpp: In function ‘int main()’:
permutationgrid.cpp:7:6: error: expected initializer before ‘>>’ token
    7 |  cin >> x >> y;
      |      ^~
permutationgrid.cpp:8:12: error: ‘y’ was not declared in this scope
    8 |  int z = x*y
      |            ^
permutationgrid.cpp:12:10: error: ‘w’ was not declared in this scope
   12 |   cin >> w;
      |          ^
permutationgrid.cpp:13:3: error: ‘arr’ was not declared in this scope
   13 |   arr[a] = {w};
      |   ^~~
permutationgrid.cpp:16:7: error: ‘arr’ was not declared in this scope
   16 |   if (arr[i] + 1 == arr[i+1]) {
      |       ^~~
permutationgrid.cpp:19:39: error: expected identifier before ‘(’ token
   19 |   else if (arr[i] + 1 == arr[i+y]) && (i+y <= z) {
      |                                       ^
permutationgrid.cpp:22:39: error: expected identifier before ‘(’ token
   22 |   else if (arr[i] + 1 == arr[i-y]) && (i-y &