trenbus.cpp: In function 'std::vector<int> inv(std::vector<int>)': trenbus.cpp:14:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < v.size(); ++i) ^ trenbus.cpp: In function 'int main()': trenbus.cpp:110:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < sets.size(); ++i){ ^ trenbus.cpp:122:19: warning: unused variable 'wsy' [-Wunused-variable] const int wsy = which_set[y]; ^ trenbus.cpp:138:38: warning: 't1' may be used uninitialized in this function [-Wmaybe-uninitialized] cout << "\t\t\t" << t0 << ' ' << t1 << endl; ^ trenbus.cpp:138:25: warning: 't0' may be used uninitialized in this function [-Wmaybe-uninitialized] cout << "\t\t\t" << t0 << ' ' << t1 << endl; ^
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0 secunde | Raspuns gresit. | 4 | 0 | ||
| 2 | 0 secunde | OK. | 4 | 4 | ||
| 3 | 0.3 secunde | OK. | 4 | 4 | ||
| 4 | 0.128 secunde | OK. | 4 | 4 | ||
| 5 | 0.152 secunde | OK. | 4 | 4 | ||
| 6 | 0.096 secunde | OK. | 4 | 4 | ||
| 7 | 0.14 secunde | OK. | 4 | 4 | ||
| 8 | 0.716 secunde | OK. | 4 | 4 | ||
| 9 | 0.312 secunde | OK. | 4 | 4 | ||
| 10 | 0.364 secunde | OK. | 4 | 4 | ||
| 11 | 0.228 secunde | OK. | 4 | 4 | ||
| 12 | 0.336 secunde | OK. | 4 | 4 | ||
| 13 | 0.316 secunde | Raspuns gresit. | 4 | 0 | ||
| 14 | 0.22 secunde | Raspuns gresit. | 4 | 0 | ||
| 15 | 0.14 secunde | Raspuns gresit. | 4 | 0 | ||
| 16 | 0.084 secunde | Raspuns gresit. | 5 | 0 | ||
| 17 | 0.108 secunde | Raspuns gresit. | 5 | 0 | ||
| 18 | 0.768 secunde | Raspuns gresit. | 5 | 0 | ||
| 19 | 0.236 secunde | Raspuns gresit. | 5 | 0 | ||
| 20 | 0.348 secunde | Raspuns gresit. | 5 | 0 | ||
| 21 | 0.192 secunde | Raspuns gresit. | 5 | 0 | ||
| 22 | 0.248 secunde | Raspuns gresit. | 10 | 0 | ||
| Punctaj total | 44 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
Suma punctajelor acordate pe testele utilizate pentru verificare este 100. Astfel, soluția ta poate obține cel mult 100 de puncte, caz în care se poate considera corectă.