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

Compile Error

permutationgrid.cpp: In function ‘int main()’:
permutationgrid.cpp:18:41: error: expected identifier before ‘(’ token
18 | } else if (arr[i] + 1 == arr[i+y]) && (i+y <= z) {
| ^
permutationgrid.cpp:20:41: error: expected identifier before ‘(’ token
20 | } else if (arr[i] + 1 == arr[i-y]) && (i-y >=0) {
| ^