Borderou de evaluare (job #2910467)

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

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:28:23: warning: overflow in conversion from 'double' to 'short int' changes value from '1.0e+6' to '32767' [-Woverflow] 28 | mat[i][j]=1e6; | ^~~ main.cpp:52:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<short int, short int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 52 | 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,lin,col,poz1,poz2,pas; | ^ main.cpp:20:17: warning: unused variable 'l' [-Wunused-variable] 20 | int n,i,j,k,l,m,lin,col,poz1,poz2,pas; | ^ main.cpp:58:21: warning: 'currbest' may be used uninitialized in this function [-Wmaybe-uninitialized] 58 | if(mat[poz1][poz2+1]==currbest) | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
15ms4370kbOK1020
24ms6565kbOK10
312ms11034kbOK1030
48ms11034kbOK10
59ms11026kbOK10
620ms11448kbOK1010
766ms12492kbOK1020
843ms10240kbOK10
957ms12492kbOK1020
1074ms12480kbOK10
Punctaj total100

Ceva nu functioneaza?