Borderou de evaluare (job #603465)

Utilizator avatar Mihai_Ariton Mihai Ariton Mihai_Ariton IP ascuns
Problemă Colecție (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 12 aug. 2021 10:19:42 Scor 5

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:16:16: warning: comparison of constant '2' with boolean expression is always true [-Wbool-compare] 16 | if(f[a]<2) | ~~~~^~ main.cpp:17:12: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated] 17 | f[a]++; | ~~~^ main.cpp:22:16: warning: comparison of constant '2' with boolean expression is always true [-Wbool-compare] 22 | if(t[a]<2) | ~~~~^~ main.cpp:23:12: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated] 23 | t[a]++; | ~~~^ main.cpp:28:16: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] 28 | if(f[i]>1 && t[i]==0) | ~~~~^~ main.cpp:30:16: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated] 30 | t[i]++; | ~~~^ main.cpp:33:16: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] 33 | if(t[i]>1 && f[i]==0) | ~~~~^~ main.cpp:35:16: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated] 35 | f[i]++; | ~~~^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb Incorect 0
2 1 ms 131 kb Incorect 0
3 1 ms 131 kb OK 5
4 1 ms 131 kb Incorect 0
5 25 ms 131 kb Incorect 0
6 40 ms 131 kb Incorect 0
7 58 ms 258 kb Incorect 0
8 87 ms 262 kb Incorect 0
9 81 ms 258 kb Incorect 0
10 79 ms 258 kb Incorect 0
11 93 ms 389 kb Incorect 0
12 87 ms 393 kb Incorect 0
13 92 ms 393 kb Incorect 0
14 85 ms 389 kb Incorect 0
15 83 ms 389 kb Incorect 0
16 83 ms 393 kb Incorect 0
17 83 ms 389 kb Incorect 0
18 83 ms 389 kb Incorect 0
19 91 ms 393 kb Incorect 0
20 84 ms 393 kb Incorect 0
Punctaj total 5