Problem permutationgrid
User xragon
Submission Time 2024-12-07 10:21:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

permutationgrid.cpp: In function ‘int main()’:
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 >=0) {
| ^