Problem permutationgrid
User xragon
Submission Time 2024-12-07 10:20:04
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) {
| ^
permutationgrid.cpp:34:3: error: expected ‘}’ at end of input
34 | }
| ^
permutationgrid.cpp:5:14: note: to match this ‘{’
5 | signed main(){
| ^