Borderou de evaluare (job #611941)

Utilizator avatar oliv_1 Octa Bostinescu oliv_1 IP ascuns
Problemă Paranteze 1 (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 22 oct. 2021 18:09:06 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:25:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 25 | if(cnt>max) | ^~ main.cpp:27:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 27 | v[2]++; | ^ main.cpp:35:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 35 | else | ^~~~ main.cpp:37:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 37 | return 0; | ^~~~~~ main.cpp:27:24: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 27 | v[2]++; | ~~~^ main.cpp:4:5: note: while referencing 'v' 4 | int v[2]; | ^ main.cpp:27:24: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 27 | v[2]++; | ~~~^ main.cpp:4:5: note: while referencing 'v' 4 | int v[2]; | ^ main.cpp:31:13: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds] 31 | if(v[1]!=v[2]) | ~~~^ main.cpp:4:5: note: while referencing 'v' 4 | int v[2]; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test Punctaj/grupă
1 1 ms 131 kb Incorect 0 0
2 1 ms 131 kb Incorect 0
3 1 ms 131 kb Incorect 0 0
4 1 ms 131 kb Incorect 0
5 1 ms 131 kb Incorect 0 0
6 1 ms 131 kb Incorect 0
7 1 ms 131 kb Incorect 0 0
8 1 ms 131 kb Incorect 0
9 8 ms 131 kb Incorect 0 0
10 1 ms 131 kb Incorect 0
11 58 ms 131 kb OK 5 0
12 61 ms 131 kb Incorect 0
13 63 ms 131 kb Incorect 0 0
14 64 ms 131 kb Incorect 0
15 66 ms 131 kb Incorect 0 0
16 66 ms 131 kb OK 5
17 65 ms 131 kb OK 5 0
18 66 ms 131 kb Incorect 0
19 67 ms 131 kb Incorect 0 0
20 56 ms 131 kb Incorect 0
Punctaj total 0