Borderou de evaluare (job #2910466)

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

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
15ms6471kbOK1020
23ms6467kbOK10
310ms11055kbOK1030
48ms8671kbOK10
59ms11038kbOK10
634ms11440kbOK1010
7103ms12492kbTime limit exceeded00
8101ms12468kbTime limit exceeded0
9105ms12353kbTime limit exceeded00
10102ms12484kbTime limit exceeded0
Punctaj total60

Ceva nu functioneaza?