Borderou de evaluare (job #2202483)

Utilizator MikeStrikeAgache Mihai MikeStrike Data 8 mai 2018 21:27:33
Problema Elementul majoritar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1;i<=n;i++) ~^~~ user.cpp:11:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1;i<=n;i++) ~^~~ user.cpp:27:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1;i<=n;i++) ~^~~ user.cpp:27:1: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for(int i=1;i<=n;i++) ^~~ user.cpp:29:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ if(k>=n/2+1) out<<elmaj<<' '<<k; ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1320kbOK10
20ms1324kbOK10
30ms1328kbOK10
40ms1360kbOK10
512ms3504kbOK10
624ms3508kbOK10
748ms3504kbOK10
8112ms3508kbOK10
9224ms5224kbOK10
10232ms5228kbOK10
Punctaj total100

Ceva nu functioneaza?