Pagini recente »
Borderou de evaluare (job #554870)
|
Borderou de evaluare (job #501719)
|
Borderou de evaluare (job #609023)
|
Borderou de evaluare (job #269403)
|
Borderou de evaluare (job #760583)
Borderou de evaluare (job #760583)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:48:43: warning: 's3' may be used uninitialized [-Wmaybe-uninitialized]
48 | if( s2 + valmax2 - s1 + valmax1 > s3 + valmax3 )
| ~~~^~~~~~~~~
main.cpp:39:23: note: 's3' was declared here
39 | int valmax3 = -1, s3;
| ^~
main.cpp:48:22: warning: 's1' may be used uninitialized [-Wmaybe-uninitialized]
48 | if( s2 + valmax2 - s1 + valmax1 > s3 + valmax3 )
| ~~~~~~~~~~~~~^~~~
main.cpp:20:36: note: 's1' was declared here
20 | int pozmax1 = 0, valmax1 = -1, s1;
| ^~
main.cpp:48:12: warning: 's2' may be used uninitialized [-Wmaybe-uninitialized]
48 | if( s2 + valmax2 - s1 + valmax1 > 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
|
249 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
|
Incorect
|
0
|
11
|
1 ms
|
249 kb
|
Incorect
|
0
|
12
|
1 ms
|
249 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
|
29 ms
|
512 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
|
49 ms
|
507 kb
|
Incorect
|
0
|
Punctaj total
|
35
|