Borderou de evaluare (job #3312982)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:53:24: warning: 't2' may be used uninitialized [-Wmaybe-uninitialized]
53 | long long pas = t1 * t2 * t3;
| ~~~^~~~
main.cpp:44:19: note: 't2' was declared here
44 | long long t1, t2, t3;
| ^~
main.cpp:39:19: warning: 't2' may be used uninitialized [-Wmaybe-uninitialized]
39 | long long pas = t1 * v[indmaxi] * t2;
| ^~~
main.cpp:26:23: note: 't2' was declared here
26 | long long t1, t2;
| ^~
main.cpp:39:28: warning: 't1' may be used uninitialized [-Wmaybe-uninitialized]
39 | long long pas = t1 * v[indmaxi] * t2;
| ~~~^~~~~~~~~~~~
main.cpp:26:19: note: 't1' was declared here
26 | long long t1, t2;
| ^~
main.cpp:27:29: warning: 'indmaxi' may be used uninitialized [-Wmaybe-uninitialized]
27 | for(int i = indmaxi + 1; i <= n; i++){
| ~~~~~~~~^~~
main.cpp:19:30: note: 'indmaxi' was declared here
19 | long long maxi = -1, indmaxi;
| ^~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 10 |
| 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 |
| Punctaj total | 10 |