Pagini recente »
Borderou de evaluare (job #829432)
|
Borderou de evaluare (job #749706)
|
Borderou de evaluare (job #394783)
|
Borderou de evaluare (job #469438)
|
Borderou de evaluare (job #760581)
Borderou de evaluare (job #760581)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:50:49: warning: 's3' may be used uninitialized [-Wmaybe-uninitialized]
50 | if( sum - s2 + valmax2 - s1 + valmax1 > sum - s3 + valmax3 )
| ~~~~^~~~
main.cpp:41:23: note: 's3' was declared here
41 | int valmax3 = -1, s3;
| ^~
main.cpp:50:28: warning: 's1' may be used uninitialized [-Wmaybe-uninitialized]
50 | if( sum - s2 + valmax2 - s1 + valmax1 > sum - s3 + valmax3 )
| ~~~~~~~~~~~~~~~~~~~^~~~
main.cpp:22:36: note: 's1' was declared here
22 | int pozmax1 = 0, valmax1 = -1, s1;
| ^~
main.cpp:50:13: warning: 's2' may be used uninitialized [-Wmaybe-uninitialized]
50 | if( sum - s2 + valmax2 - s1 + valmax1 > sum - s3 + valmax3 )
| ~~~~^~~~
main.cpp:32:23: note: 's2' was declared here
32 | int valmax2 = -1, s2;
| ^~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
OK
|
5
|
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
5
|
1 ms
|
245 kb
|
OK
|
5
|
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
10
|
1 ms
|
245 kb
|
OK
|
5
|
|
11
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
12
|
9 ms
|
241 kb
|
Incorect
|
0
|
|
13
|
9 ms
|
245 kb
|
Incorect
|
0
|
|
14
|
9 ms
|
249 kb
|
Incorect
|
0
|
|
15
|
19 ms
|
245 kb
|
Incorect
|
0
|
|
16
|
29 ms
|
507 kb
|
Incorect
|
0
|
|
17
|
39 ms
|
507 kb
|
Incorect
|
0
|
|
18
|
39 ms
|
512 kb
|
Incorect
|
0
|
|
19
|
49 ms
|
512 kb
|
Incorect
|
0
|
|
20
|
49 ms
|
503 kb
|
Incorect
|
0
|
|
Punctaj total
|
15
|