Borderou de evaluare (job #3344613)

Utilizator Cezar2009Cezar Mihai Titihazan Cezar2009 Data 3 martie 2026 21:12:43
Problema Amat Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:81:25: error: narrowing conversion of '-1' from 'int' to 'uint64' {aka 'long unsigned int'} [-Wnarrowing] 81 | const int dx[] = {1, 0, -1, 0}; | ^~ main.cpp:82:22: error: narrowing conversion of '-1' from 'int' to 'uint64' {aka 'long unsigned int'} [-Wnarrowing] 82 | const int dy[] = {0, -1, 0, 1}; | ^~ main.cpp: In function 'int32 main()': main.cpp:58:34: warning: comparison of integer expressions of different signedness: 'int' and 'uint64' {aka 'long unsigned int'} [-Wsign-compare] 58 | #define for0(i,n) for(auto i=0; i<(n); ++i) | ^ main.cpp:171:17: note: in expansion of macro 'for0' 171 | for0(i, q) | ^~~~ main.cpp:58:34: warning: comparison of integer expressions of different signedness: 'int' and 'uint64' {aka 'long unsigned int'} [-Wsign-compare] 58 | #define for0(i,n) for(auto i=0; i<(n); ++i) | ^ main.cpp:181:25: note: in expansion of macro 'for0' 181 | for0(i, mij) | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?