Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2707764)
| Utilizator | Data | 17 februarie 2021 18:14:15 | |
|---|---|---|---|
| Problema | Minim | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:64:13: warning: unused variable 'nrElemente' [-Wunused-variable]
int nrElemente = 0, intCt = 0, mx = 0, intMx = -1, best = INFINIT, suma = 0, intPoz1, intPoz2;
^~~~~~~~~~
main.cpp:103:102: warning: 'nodPoz2' may be used uninitialized in this function [-Wmaybe-uninitialized]
fout << best << ' ' << nodPoz1 -> urm -> pozSirInitial << ' ' << nodPoz2 -> pozSirInitial << "\n" ;
^~~~
main.cpp:103:43: warning: 'nodPoz1' may be used uninitialized in this function [-Wmaybe-uninitialized]
fout << best << ' ' << nodPoz1 -> urm -> pozSirInitial << ' ' << nodPoz2 -> pozSirInitial << "\n" ;
~~~~~~~~~~~^~~
main.cpp:81:82: warning: 'intPoz2' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(suma - mx < best || (suma - mx == best && intCt - intMx < intPoz2 - intPoz1)){
~~~~~~~~^~~~~~~~~
main.cpp:81:82: warning: 'intPoz1' may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 2ms | 131kb | OK | 10 |
| 6 | 3ms | 131kb | OK | 10 |
| 7 | 3ms | 131kb | OK | 10 |
| 8 | 3ms | 131kb | OK | 10 |
| 9 | 3ms | 131kb | OK | 10 |
| 10 | 7ms | 131kb | OK | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
