Problem magicwand
User Dolphy
Submission Time 2024-01-05 19:21:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

magicwand.cpp: In function β€˜int32_t main()’:
magicwand.cpp:36:63: error: expected primary-expression before β€˜]’ token
36 | if (b<x && l<=pasture[a][b+1] && r>=pasture[a][b-+]) if (!occupied[a][b+1]) {
| ^