Pagini recente » Borderou de evaluare (job #1021902) | Borderou de evaluare (job #1849274) | Borderou de evaluare (job #2456793) | Borderou de evaluare (job #2471689) | Borderou de evaluare (job #3159322)
Borderou de evaluare (job #3159322)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:19: warning: 'n' is used uninitialized [-Wuninitialized]
9 | for(int i = 1 ; i <= n ; ++ i)
| ~~^~~~
main.cpp:8:49: note: 'n' was declared here
8 | int st , dr, Smax = -2000000000 , S = -1, start,n,A[6000000];
| ^
main.cpp:13:13: warning: 'A' may be used uninitialized [-Wmaybe-uninitialized]
13 | S += A[i];
| ~~~^
main.cpp:8:51: note: 'A' declared here
8 | int st , dr, Smax = -2000000000 , S = -1, start,n,A[6000000];
| ^
main.cpp:18:22: warning: 'dr' may be used uninitialized [-Wmaybe-uninitialized]
18 | fout << st << " " << dr;
| ^~
main.cpp:8:10: note: 'dr' was declared here
8 | int st , dr, Smax = -2000000000 , S = -1, start,n,A[6000000];
| ^~
main.cpp:18:15: warning: 'st' may be used uninitialized [-Wmaybe-uninitialized]
18 | fout << st << " " << dr;
| ^~~
main.cpp:8:5: note: 'st' was declared here
8 | int st , dr, Smax = -2000000000 , S = -1, start,n,A[6000000];
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
2 | 0ms | 303kb | Incorect | 0 |
3 | 0ms | 303kb | Incorect | 0 |
4 | 0ms | 303kb | Incorect | 0 |
5 | 0ms | 303kb | Incorect | 0 |
6 | 0ms | 303kb | Incorect | 0 |
7 | 0ms | 303kb | Incorect | 0 |
8 | 0ms | 303kb | Incorect | 0 |
9 | 0ms | 303kb | Incorect | 0 |
10 | 0ms | 303kb | Incorect | 0 |
11 | 0ms | 303kb | Incorect | 0 |
12 | 0ms | 303kb | Incorect | 0 |
13 | 0ms | 303kb | Incorect | 0 |
14 | 0ms | 303kb | Incorect | 0 |
15 | 0ms | 303kb | Incorect | 0 |
16 | 0ms | 303kb | Incorect | 0 |
17 | 0ms | 303kb | Incorect | 0 |
18 | 0ms | 303kb | Incorect | 0 |
19 | 0ms | 303kb | Incorect | 0 |
20 | 0ms | 303kb | Incorect | 0 |
Punctaj total | 0 |