Borderou de evaluare (job #668258)

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:40:31 Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:84:29: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 84 | if (mask & (1 << i) > 0 && !is_sensibil[0][i]) { | ~~~~~~~~~^~~ main.cpp:104:20: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 104 | if (!vsol.size() > 0) | ^ main.cpp:104:7: note: add parentheses around left hand side expression to silence this warning 104 | if (!vsol.size() > 0) | ^~~~~~~~~~~~ | ( ) main.cpp:108:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 108 | for (i = 0; i < vsol.size(); i++) { | ~~^~~~~~~~~~~~~ main.cpp:63:37: warning: unused variable 'bit' [-Wunused-variable] 63 | int k, mask, paritate, val, i, j, bit, lin, col, min1; | ^~~ main.cpp:63:52: warning: unused variable 'min1' [-Wunused-variable] 63 | int k, mask, paritate, val, i, j, bit, lin, col, min1; | ^~~~ main.cpp:60:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | freopen("numere12.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:61:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | freopen("numere12.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK! 10
2 50 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 7 ms 118 kb Numarul de mutari nu este bun 0
6 21 ms 118 kb Numarul de mutari nu este bun 0
7 27 ms 118 kb Numarul de mutari nu este bun 0
8 55 ms 118 kb Time limit exceeded 0
9 52 ms 114 kb Time limit exceeded 0
10 51 ms 118 kb Time limit exceeded 0
Punctaj total 10