Pagini recente »
Borderou de evaluare (job #267486)
|
Borderou de evaluare (job #349431)
|
Borderou de evaluare (job #701218)
|
Borderou de evaluare (job #266805)
|
Borderou de evaluare (job #760585)
Borderou de evaluare (job #760585)
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:29: note: 's3' was declared here
39 | long long 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:43: note: 's1' was declared here
20 | long long 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:29: note: 's2' was declared here
30 | long long 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
|
241 kb
|
OK
|
5
|
5
|
1 ms
|
245 kb
|
OK
|
5
|
6
|
1 ms
|
241 kb
|
OK
|
5
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 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
|
9 ms
|
245 kb
|
Incorect
|
0
|
13
|
9 ms
|
249 kb
|
Incorect
|
0
|
14
|
9 ms
|
249 kb
|
Incorect
|
0
|
15
|
19 ms
|
245 kb
|
Incorect
|
0
|
16
|
39 ms
|
507 kb
|
Incorect
|
0
|
17
|
39 ms
|
507 kb
|
Incorect
|
0
|
18
|
39 ms
|
507 kb
|
Incorect
|
0
|
19
|
49 ms
|
512 kb
|
Incorect
|
0
|
20
|
49 ms
|
503 kb
|
Incorect
|
0
|
Punctaj total
|
40
|