Borderou de evaluare (job #3186817)

Utilizator radu._.21Radu Pelea radu._.21 Data 25 decembrie 2023 18:09:52
Problema Cerc3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:67:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<float, float> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 67 | for(int j = 1;j<lista.size();j++){ | ~^~~~~~~~~~~~~ main.cpp: In function 'int cb(int, float)': main.cpp:25:1: warning: control reaches end of non-void function [-Wreturn-type] 25 | } | ^ main.cpp: In function 'int main()': main.cpp:77:22: warning: 'nr' may be used uninitialized [-Wmaybe-uninitialized] 77 | fout<<max0<<" "<<nr; | ^~ main.cpp:49:17: note: 'nr' was declared here 49 | int max0=-1,nr; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK!10
20ms303kbOK!10
30ms303kbOK!10
40ms303kbOK!10
50ms303kbOK!10
61ms303kbOK!10
71ms303kbOK!10
81ms303kbOK!10
91ms303kbOK!10
100ms303kbOK!10
Punctaj total100

Ceva nu functioneaza?