Borderou de evaluare (job #763436)

Utilizator avatar AnAverageTurtle Visan Mihnea Alexandru AnAverageTurtle IP ascuns
Problemă Immortal (clasele 9-10) Compilator cpp-32 | vezi sursa
Rundă Arhiva de probleme Status evaluat
Dată 20 feb. 2024 13:04:46 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:8:38: error: declaration of 'mat' as multidimensional array must have bounds for all dimensions except the first 8 | int directions ( int i , int j , int mat [ ] [ ] , int killqueue , int afis , int h ) { | ^~~ main.cpp:8:49: error: expected ')' before ',' token 8 | int directions ( int i , int j , int mat [ ] [ ] , int killqueue , int afis , int h ) { | ~ ^~ | ) main.cpp:8:52: error: expected unqualified-id before 'int' 8 | int directions ( int i , int j , int mat [ ] [ ] , int killqueue , int afis , int h ) { | ^~~ main.cpp:63:21: error: declaration of 'mat' as multidimensional array must have bounds for all dimensions except the first 63 | int backtrack ( int mat [ ] [ ] , int alive [ ] , int killqueue [ ] , int imm , int h ) { | ^~~ main.cpp:63:32: error: expected ')' before ',' token 63 | int backtrack ( int mat [ ] [ ] , int alive [ ] , int killqueue [ ] , int imm , int h ) { | ~ ^~ | ) main.cpp:63:35: error: expected unqualified-id before 'int' 63 | int backtrack ( int mat [ ] [ ] , int alive [ ] , int killqueue [ ] , int imm , int h ) { | ^~~ main.cpp: In function 'int main()': main.cpp:132:22: error: expected primary-expression before ']' token 132 | backtrack ( mat [ ] [ ] , alive [ ] , killqueue [ ] , afis [ ] [ ] , imm , 0 ) ; | ^ main.cpp:132:26: error: expected primary-expression before ']' token 132 | backtrack ( mat [ ] [ ] , alive [ ] , killqueue [ ] , afis [ ] [ ] , imm , 0 ) ; | ^ main.cpp:132:38: error: expected primary-expression before ']' token 132 | backtrack ( mat [ ] [ ] , alive [ ] , killqueue [ ] , afis [ ] [ ] , imm , 0 ) ; | ^ main.cpp:132:54: error: expected primary-expression before ']' token 132 | backtrack ( mat [ ] [ ] , alive [ ] , killqueue [ ] , afis [ ] [ ] , imm , 0 ) ; | ^ main.cpp:132:65: error: expected primary-expression before ']' token 132 | backtrack ( mat [ ] [ ] , alive [ ] , killqueue [ ] , afis [ ] [ ] , imm , 0 ) ; | ^ main.cpp:132:69: error: expected primary-expression before ']' token 132 | backtrack ( mat [ ] [ ] , alive [ ] , killqueue [ ] , afis [ ] [ ] , imm , 0 ) ; | ^