Borderou de evaluare (job #2923793)

Utilizator cezar_titianuTitianu Cezar cezar_titianu Data 19 septembrie 2022 10:55:14
Problema Barbar Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'void initDist(const std::vector<coord>&, const int&, const int&)': main.cpp:51:12: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 51 | if(now.x < nrn - 1 && !viz2(now.x + 1, now.y)) { | ~~~~~~^~~~~~~~~ main.cpp:59:12: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 59 | if(now.y < nrm - 1 && !viz2(now.x, now.y + 1)) { | ~~~~~~^~~~~~~~~ main.cpp: In function 'int calcPath(const coord&, const coord&, const int&, const int&)': main.cpp:87:12: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 87 | if(now.x < nrn - 1 && !viz2(now.x + 1, now.y) && !mat[now.x + 1][now.y].wall) { | ~~~~~~^~~~~~~~~ main.cpp:95:12: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 95 | if(now.y < nrm - 1 && !viz2(now.x, now.y + 1) && !mat[now.x][now.y + 1].wall) { | ~~~~~~^~~~~~~~~ main.cpp: In function 'int main()': main.cpp:111:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 111 | for(size_t index = 0; index < nrn; index++) { | ~~~~~~^~~~~ main.cpp:112:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 112 | for(size_t index2 = 0; index2 < nrm; index2++) { | ~~~~~~~^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbWrong answer!0
20ms184kbOk!10
30ms184kbWrong answer!0
40ms184kbOk!10
50ms184kbOk!10
60ms184kbOk!10
74ms2281kbOk!10
817ms5062kbOk!10
9100ms10915kbOk!10
100ms184kbOk!10
Punctaj total80

Ceva nu functioneaza?