Borderou de evaluare (job #580677)

Utilizator avatar ve_ve_ve aaaa bbbbbbb ve_ve_ve IP ascuns
Problemă Colecție (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 1 feb. 2021 21:47:03 Scor 5

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:15:16: warning: comparison of constant '2' with boolean expression is always true [-Wbool-compare] 15 | if(a[x]<2)a[x]++; | ~~~~^~ main.cpp:15:23: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated] 15 | if(a[x]<2)a[x]++; | ^~ main.cpp:20:16: warning: comparison of constant '2' with boolean expression is always true [-Wbool-compare] 20 | if(d[x]<2)d[x]++; | ~~~~^~ main.cpp:20:23: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated] 20 | if(d[x]<2)d[x]++; | ^~ main.cpp:26:16: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] 26 | if(a[i]>=2 and d[i]==0) sa=sa+x; | ~~~~^~~ main.cpp:27:16: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] 27 | if(d[i]>=2 and a[i]==0) sd=sd+x; | ~~~~^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb Incorect 0
2 1 ms 262 kb Incorect 0
3 1 ms 262 kb OK 5
4 1 ms 262 kb Incorect 0
5 28 ms 262 kb Incorect 0
6 42 ms 262 kb Incorect 0
7 70 ms 393 kb Incorect 0
8 102 ms 389 kb Incorect 0
9 93 ms 389 kb Incorect 0
10 96 ms 393 kb Incorect 0
11 41 ms 524 kb Memory limit exceeded 0
12 45 ms 520 kb Memory limit exceeded 0
13 42 ms 524 kb Memory limit exceeded 0
14 40 ms 520 kb Memory limit exceeded 0
15 42 ms 520 kb Memory limit exceeded 0
16 72 ms 524 kb Memory limit exceeded 0
17 54 ms 520 kb Memory limit exceeded 0
18 40 ms 520 kb Memory limit exceeded 0
19 47 ms 520 kb Memory limit exceeded 0
20 47 ms 524 kb Memory limit exceeded 0
Punctaj total 5