Pagini recente » Borderou de evaluare (job #2729393) | Borderou de evaluare (job #2662931) | Borderou de evaluare (job #1524031) | Borderou de evaluare (job #60013) | Borderou de evaluare (job #3235262)
Borderou de evaluare (job #3235262)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:15: warning: unused variable 'j' [-Wunused-variable]
9 | int n, i, j, max = 0, stmax, drmax, x, s, st;
| ^
main.cpp:24:43: warning: 'drmax' may be used uninitialized [-Wmaybe-uninitialized]
24 | cout << max << " " << stmax << " " << drmax;
| ^~~~~
main.cpp:9:34: note: 'drmax' was declared here
9 | int n, i, j, max = 0, stmax, drmax, x, s, st;
| ^~~~~
main.cpp:24:36: warning: 'stmax' may be used uninitialized [-Wmaybe-uninitialized]
24 | cout << max << " " << stmax << " " << drmax;
| ^~~
main.cpp:9:27: note: 'stmax' was declared here
9 | int n, i, j, max = 0, stmax, drmax, x, s, st;
| ^~~~~
main.cpp:13:9: warning: 's' may be used uninitialized [-Wmaybe-uninitialized]
13 | if(s < 0) {
| ^~
main.cpp:9:44: note: 's' was declared here
9 | int n, i, j, max = 0, stmax, drmax, x, s, st;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
2 | 0ms | 303kb | OK | 5 |
3 | 0ms | 303kb | Incorect | 0 |
4 | 0ms | 303kb | Incorect | 0 |
5 | 0ms | 303kb | OK | 5 |
6 | 0ms | 303kb | Incorect | 0 |
7 | 1ms | 303kb | Incorect | 0 |
8 | 1ms | 303kb | OK | 5 |
9 | 4ms | 303kb | OK | 5 |
10 | 4ms | 303kb | OK | 5 |
11 | 14ms | 303kb | OK | 5 |
12 | 24ms | 303kb | OK | 5 |
13 | 29ms | 303kb | OK | 5 |
14 | 39ms | 303kb | Incorect | 0 |
15 | 188ms | 303kb | OK | 5 |
16 | 218ms | 303kb | OK | 5 |
17 | 208ms | 303kb | Incorect | 0 |
18 | 228ms | 303kb | Incorect | 0 |
19 | 233ms | 303kb | OK | 5 |
20 | 228ms | 303kb | OK | 5 |
Punctaj total | 60 |