Pagini recente » Borderou de evaluare (job #3480) | Borderou de evaluare (job #3478) | Borderou de evaluare (job #135615) | Borderou de evaluare (job #255528) | Borderou de evaluare (job #3275215)
Borderou de evaluare (job #3275215)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:23: warning: unused variable 'dr' [-Wunused-variable]
18 | int n, v[nmax], st , dr, smax = INT_MIN, sum = 0,drmax = 0;
| ^~
main.cpp:19:18: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized]
19 | for(int i = 1; i <= n; i++)
| ~~^~~~
main.cpp:18:5: note: 'n' was declared here
18 | int n, v[nmax], st , dr, smax = INT_MIN, sum = 0,drmax = 0;
| ^
main.cpp:39:30: warning: 'st' may be used uninitialized [-Wmaybe-uninitialized]
39 | cout << smax << " " << st << " " << drmax;
| ^~~
main.cpp:18:18: note: 'st' was declared here
18 | int n, v[nmax], st , dr, smax = INT_MIN, sum = 0,drmax = 0;
| ^~
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 | 335kb | 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 |