Borderou de evaluare (job #668254)

Utilizator avatar Yusyboss Fares Yusuf Yusyboss IP ascuns
Problemă Numere12 (clasele 9-10) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 9 oct. 2022 19:32:46 Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:87:31: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 87 | if (mask & (1 << bit) > 0 && !is_sensibil[0][bit]) { | ~~~~~~~~~~~^~~ main.cpp:102:23: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 102 | if (vsol.size() < min1) { | ~~~~~~~~~~~~^~~~~~ main.cpp:111:21: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 111 | if (!vsol1.size() > 0) | ^ main.cpp:111:7: note: add parentheses around left hand side expression to silence this warning 111 | if (!vsol1.size() > 0) | ^~~~~~~~~~~~~ | ( ) main.cpp:115:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 115 | for (i = 0; i < vsol1.size(); i++) { | ~~^~~~~~~~~~~~~~ main.cpp:63:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | freopen("numere12.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:64:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | freopen("numere12.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK! 10
2 58 ms 118 kb Time limit exceeded 0
3 1 ms 114 kb Numarul de mutari nu este bun 0
4 1 ms 114 kb Numarul de mutari nu este bun 0
5 8 ms 118 kb Numarul de mutari nu este bun 0
6 23 ms 118 kb Numarul de mutari nu este bun 0
7 32 ms 114 kb Numarul de mutari nu este bun 0
8 50 ms 118 kb Time limit exceeded 0
9 44 ms 118 kb Numarul de mutari nu este bun 0
10 54 ms 118 kb Time limit exceeded 0
Punctaj total 10