Pagini recente »
Borderou de evaluare (job #776167)
|
Borderou de evaluare (job #326796)
|
Borderou de evaluare (job #38000)
|
Borderou de evaluare (job #747702)
|
Borderou de evaluare (job #760584)
Borderou de evaluare (job #760584)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:48:49: warning: 's3' may be used uninitialized [-Wmaybe-uninitialized]
48 | if( sum - s2 + valmax2 - s1 + valmax1 > sum - s3 + valmax3 )
| ~~~~^~~~
main.cpp:39:23: note: 's3' was declared here
39 | int valmax3 = -1, s3;
| ^~
main.cpp:48:28: warning: 's1' may be used uninitialized [-Wmaybe-uninitialized]
48 | if( sum - s2 + valmax2 - s1 + valmax1 > sum - s3 + valmax3 )
| ~~~~~~~~~~~~~~~~~~~^~~~
main.cpp:20:37: note: 's1' was declared here
20 | int pozmax1 = -1, valmax1 = -1, s1;
| ^~
main.cpp:48:13: warning: 's2' may be used uninitialized [-Wmaybe-uninitialized]
48 | if( sum - s2 + valmax2 - s1 + valmax1 > sum - s3 + valmax3 )
| ~~~~^~~~
main.cpp:30:23: note: 's2' was declared here
30 | 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
|
OK
|
5
|
3
|
1 ms
|
245 kb
|
OK
|
5
|
4
|
1 ms
|
245 kb
|
OK
|
5
|
5
|
1 ms
|
245 kb
|
OK
|
5
|
6
|
1 ms
|
245 kb
|
OK
|
5
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
241 kb
|
Incorect
|
0
|
9
|
1 ms
|
245 kb
|
OK
|
5
|
10
|
1 ms
|
245 kb
|
OK
|
5
|
11
|
1 ms
|
249 kb
|
Incorect
|
0
|
12
|
1 ms
|
249 kb
|
Incorect
|
0
|
13
|
9 ms
|
249 kb
|
Incorect
|
0
|
14
|
18 ms
|
241 kb
|
Incorect
|
0
|
15
|
19 ms
|
249 kb
|
Incorect
|
0
|
16
|
29 ms
|
503 kb
|
Incorect
|
0
|
17
|
39 ms
|
503 kb
|
Incorect
|
0
|
18
|
39 ms
|
512 kb
|
Incorect
|
0
|
19
|
49 ms
|
507 kb
|
Incorect
|
0
|
20
|
58 ms
|
507 kb
|
Incorect
|
0
|
Punctaj total
|
40
|