Borderou de evaluare (job #2910465)

Utilizator popescuadrianpopescuadrian popescuadrian Data 21 iunie 2022 12:16:07
Problema Drum6 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:51:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 51 | for(i=0; i<layers[pas].size(); i++) | ~^~~~~~~~~~~~~~~~~~~ main.cpp:20:15: warning: unused variable 'k' [-Wunused-variable] 20 | int n,i,j,k,l,m,currbest,lin,col,poz1,poz2,pas; | ^ main.cpp:20:17: warning: unused variable 'l' [-Wunused-variable] 20 | int n,i,j,k,l,m,currbest,lin,col,poz1,poz2,pas; | ^ main.cpp:57:21: warning: 'currbest' may be used uninitialized in this function [-Wmaybe-uninitialized] 57 | if(mat[poz1][poz2+1]==currbest) | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
19ms10776kbOK1020
26ms6467kbOK10
313ms8564kbOK1030
410ms13004kbOK10
512ms12996kbOK10
666ms20496kbMemory limit exceeded00
771ms20496kbMemory limit exceeded00
869ms20496kbMemory limit exceeded0
970ms20496kbMemory limit exceeded00
1071ms20496kbMemory limit exceeded0
Punctaj total50

Ceva nu functioneaza?