Borderou de evaluare (job #2538865)

Utilizator Leonard123Mirt Leonard Leonard123 Data 5 februarie 2020 11:44:25
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:33:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<v[base].size(); i++) ~^~~~~~~~~~~~~~~ main.cpp:37:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(b[base]) ^~ main.cpp:39:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(((ok==0)? c[base].sd+v[base][i].sd.sd : c[base].sd)<=k){ ^~ main.cpp:43:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main.cpp:45:11: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' arb[v[base][i].ft]=max(arb[base],c[v[base][i].ft].sd); ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms131kbOK10
23ms131kbOK10
33ms131kbOK10
43ms131kbIncorect0
53ms131kbIncorect0
63ms131kbIncorect0
72ms131kbIncorect0
83ms131kbOK10
92ms131kbIncorect0
103ms131kbOK10
Punctaj total50

Ceva nu functioneaza?