Pagini recente » Borderou de evaluare (job #387572) | Borderou de evaluare (job #617062) | Borderou de evaluare (job #2585965) | Borderou de evaluare (job #1740957) | Borderou de evaluare (job #3215411)
Borderou de evaluare (job #3215411)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10:39: warning: unused variable 'r' [-Wunused-variable]
10 | int n, i, a, s = 0, maxx = -1, l, r, lmax, rmax;
| ^
main.cpp:29:42: warning: 'rmax' may be used uninitialized [-Wmaybe-uninitialized]
29 | out << maxx << " " << lmax << " " << rmax;
| ^~~~
main.cpp:10:48: note: 'rmax' was declared here
10 | int n, i, a, s = 0, maxx = -1, l, r, lmax, rmax;
| ^~~~
main.cpp:29:35: warning: 'lmax' may be used uninitialized [-Wmaybe-uninitialized]
29 | out << maxx << " " << lmax << " " << rmax;
| ^~~
main.cpp:10:42: note: 'lmax' was declared here
10 | int n, i, a, s = 0, maxx = -1, l, r, lmax, rmax;
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 5 |
2 | 0ms | 303kb | OK | 5 |
3 | 0ms | 303kb | Incorect | 0 |
4 | 0ms | 303kb | OK | 5 |
5 | 0ms | 303kb | OK | 5 |
6 | 0ms | 303kb | OK | 5 |
7 | 1ms | 303kb | OK | 5 |
8 | 1ms | 303kb | OK | 5 |
9 | 4ms | 303kb | OK | 5 |
10 | 8ms | 303kb | OK | 5 |
11 | 14ms | 303kb | OK | 5 |
12 | 24ms | 303kb | OK | 5 |
13 | 29ms | 303kb | OK | 5 |
14 | 39ms | 303kb | OK | 5 |
15 | 188ms | 303kb | OK | 5 |
16 | 213ms | 303kb | OK | 5 |
17 | 208ms | 303kb | OK | 5 |
18 | 233ms | 303kb | OK | 5 |
19 | 233ms | 303kb | OK | 5 |
20 | 228ms | 303kb | OK | 5 |
Punctaj total | 95 |