Pagini recente »
Borderou de evaluare (job #49023)
|
Borderou de evaluare (job #638664)
|
Borderou de evaluare (job #365300)
|
Borderou de evaluare (job #569735)
|
Borderou de evaluare (job #611942)
Borderou de evaluare (job #611942)
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:40:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
40 | else
| ^~~~
main.cpp:42:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
42 | 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:30:19: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds]
30 | if(v[2]>v[1])
| ~~~^
main.cpp:4:5: note: while referencing 'v'
4 | int v[2];
| ^
main.cpp:36:13: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds]
36 | 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
|
7 ms
|
131 kb
|
Incorect
|
0
|
0
|
10
|
8 ms
|
131 kb
|
Incorect
|
0
|
11
|
56 ms
|
131 kb
|
OK
|
5
|
0
|
12
|
60 ms
|
131 kb
|
Incorect
|
0
|
13
|
63 ms
|
131 kb
|
Incorect
|
0
|
0
|
14
|
63 ms
|
131 kb
|
Incorect
|
0
|
15
|
64 ms
|
131 kb
|
Incorect
|
0
|
0
|
16
|
64 ms
|
131 kb
|
OK
|
5
|
17
|
65 ms
|
131 kb
|
OK
|
5
|
0
|
18
|
67 ms
|
131 kb
|
Incorect
|
0
|
19
|
66 ms
|
131 kb
|
Incorect
|
0
|
0
|
20
|
65 ms
|
131 kb
|
Incorect
|
0
|
Punctaj total
|
0
|