Pagini recente » Borderou de evaluare (job #636578) | Borderou de evaluare (job #2227002) | Borderou de evaluare (job #1746622) | Borderou de evaluare (job #319381) | Borderou de evaluare (job #2707764)
Borderou de evaluare (job #2707764)
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 |