Pagini recente » Borderou de evaluare (job #972854) | Borderou de evaluare (job #3345976) | Borderou de evaluare (job #3322280) | Borderou de evaluare (job #3321144) | Borderou de evaluare (job #3310885)
Borderou de evaluare (job #3310885)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:22: warning: unused variable 'curent' [-Wunused-variable]
15 | int minim=999999,curent=0,poz,pf,l,pi;
| ^~~~~~
main.cpp:15:40: warning: variable 'pi' set but not used [-Wunused-but-set-variable]
15 | int minim=999999,curent=0,poz,pf,l,pi;
| ^~
main.cpp:25:30: warning: 'l' may be used uninitialized [-Wmaybe-uninitialized]
25 | else if(pd[i]==minim && i-poz+1>l)
| ~~~~~~~~~~~~~^~~~~~~~~~~~
main.cpp:15:38: note: 'l' was declared here
15 | int minim=999999,curent=0,poz,pf,l,pi;
| ^
main.cpp:23:16: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized]
23 | l=i-poz+1;
| ~^~~~
main.cpp:15:31: note: 'poz' was declared here
15 | int minim=999999,curent=0,poz,pf,l,pi;
| ^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK! | 10 |
| 2 | 0ms | 303kb | OK! | 10 |
| 3 | 0ms | 303kb | OK! | 10 |
| 4 | 1ms | 303kb | OK! | 10 |
| 5 | 2ms | 557kb | OK! | 10 |
| 6 | 5ms | 819kb | OK! | 10 |
| 7 | 7ms | 1081kb | OK! | 10 |
| 8 | 9ms | 819kb | Suma gresita! | 0 |
| 9 | 9ms | 819kb | Suma gresita! | 0 |
| 10 | 14ms | 1765kb | OK! | 10 |
| Punctaj total | 80 |