Pagini recente » Borderou de evaluare (job #1966430) | Borderou de evaluare (job #1170799) | Borderou de evaluare (job #2264799) | Borderou de evaluare (job #3185849) | Borderou de evaluare (job #3229745)
Borderou de evaluare (job #3229745)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:48:34: warning: 'drmax' may be used uninitialized [-Wmaybe-uninitialized]
48 | fout<<smax<<" "<<stmax<<" "<<drmax;
| ^~~~~
main.cpp:8:53: note: 'drmax' was declared here
8 | int n, i, s=0, x, smax=-INT_MAX, st, stmax, dr, drmax;
| ^~~~~
main.cpp:48:29: warning: 'stmax' may be used uninitialized [-Wmaybe-uninitialized]
48 | fout<<smax<<" "<<stmax<<" "<<drmax;
| ^~~
main.cpp:8:42: note: 'stmax' was declared here
8 | int n, i, s=0, x, smax=-INT_MAX, st, stmax, dr, drmax;
| ^~~~~
main.cpp:40:34: warning: 'st' may be used uninitialized [-Wmaybe-uninitialized]
40 | if(drmax-stmax>dr-st)
| ~~^~~
main.cpp:8:38: note: 'st' was declared here
8 | int n, i, s=0, x, smax=-INT_MAX, st, stmax, dr, drmax;
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
2 | 0ms | 303kb | OK | 5 |
3 | 0ms | 303kb | OK | 5 |
4 | 0ms | 303kb | Incorect | 0 |
5 | 0ms | 303kb | Incorect | 0 |
6 | 0ms | 303kb | OK | 5 |
7 | 1ms | 303kb | Incorect | 0 |
8 | 1ms | 303kb | OK | 5 |
9 | 4ms | 303kb | Incorect | 0 |
10 | 9ms | 303kb | OK | 5 |
11 | 14ms | 303kb | Incorect | 0 |
12 | 24ms | 303kb | Incorect | 0 |
13 | 29ms | 303kb | OK | 5 |
14 | 39ms | 303kb | OK | 5 |
15 | 193ms | 303kb | OK | 5 |
16 | 208ms | 303kb | OK | 5 |
17 | 208ms | 303kb | OK | 5 |
18 | 238ms | 303kb | OK | 5 |
19 | 228ms | 303kb | OK | 5 |
20 | 233ms | 303kb | OK | 5 |
Punctaj total | 65 |