Borderou de evaluare (job #619045)

Utilizator avatar AlexNicu Nicu Alexandru AlexNicu IP ascuns
Problemă Mediana (clasa a 10-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 29 nov. 2021 21:08:07 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:70:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<NORMALIZARE>::size_type' {aka 'unsigned int'} [-Wsign-compare] 70 | for ( i = 0; i < numere_normalizate.size(); i++ ) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:72:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<NORMALIZARE>::size_type' {aka 'unsigned int'} [-Wsign-compare] 72 | while ( i < numere_normalizate.size() - 1 && numere_normalizate[i].numar == numere_normalizate[i + 1].numar ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:79:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 79 | for ( i = 0; i < querys.size(); i++ ) { | ~~^~~~~~~~~~~~~~~ main.cpp:84:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<NORMALIZARE>::size_type' {aka 'unsigned int'} [-Wsign-compare] 84 | if ( ( st | pas ) < numere_normalizate.size() && numere_normalizate[st | pas].numar < numere[poz + j] ) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int caut(int)': main.cpp:52:1: warning: control reaches end of non-void function [-Wreturn-type] 52 | } | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 10
2 1 ms 131 kb OK 10
3 1 ms 258 kb OK 10
4 9 ms 389 kb OK 10
5 16 ms 524 kb OK 10
6 33 ms 847 kb OK 10
7 35 ms 847 kb OK 10
8 113 ms 1224 kb OK 10
9 141 ms 1486 kb OK 10
10 181 ms 1744 kb OK 10
Punctaj total 100