Borderou de evaluare (job #645436)

Utilizator avatar ridiche34 Tudor Diaconu ridiche34 IP ascuns
Problemă Roua (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 31 mar. 2022 11:28:56 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'bool roua(std::vector<char>&)': main.cpp:9:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 9 | for (int i = 0; i < v.size(); i++) | ~~^~~~~~~~~~ main.cpp:12:13: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated] 12 | a++; | ^ main.cpp:13:15: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] 13 | if (a > 1) | ~~^~~ main.cpp: In function 'int main()': main.cpp:32:35: warning: comparison of integer expressions of different signedness: 'std::vector<char>::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 32 | if (k_frumoase.size() > r) | ~~~~~~~~~~~~~~~~~~^~~ main.cpp:34:35: warning: comparison of integer expressions of different signedness: 'std::vector<char>::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 34 | if (k_frumoase.size() == r) | ~~~~~~~~~~~~~~~~~~^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Incorect 0
2 1 ms 114 kb Incorect 0
3 1 ms 114 kb Incorect 0
4 1 ms 114 kb Incorect 0
5 1 ms 114 kb Incorect 0
6 1 ms 114 kb Incorect 0
7 1 ms 114 kb Incorect 0
8 1 ms 114 kb Incorect 0
9 1 ms 114 kb Incorect 0
10 1 ms 114 kb Incorect 0
11 1 ms 118 kb Incorect 0
12 1 ms 118 kb Incorect 0
13 1 ms 118 kb Incorect 0
14 2 ms 118 kb Incorect 0
15 1 ms 118 kb Incorect 0
16 1 ms 118 kb Incorect 0
17 1 ms 118 kb Incorect 0
18 1 ms 118 kb Incorect 0
19 1 ms 114 kb Incorect 0
20 1 ms 118 kb Incorect 0
Punctaj total 0