Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2819918)
| Utilizator | Data | 19 decembrie 2021 13:45:05 | |
|---|---|---|---|
| Problema | Paduri de multimi disjuncte | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In member function 'std::vector<int> Graf::BFS(int)':
main.cpp:197:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
197 | for (int i = 0; i < lsAd[nodCrt].size(); i++)///trec prin toate nodurile adiacente
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Graf::BellmanFord(std::ifstream&, std::vector<int>&)':
main.cpp:669:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
669 | if (cost[vecin.first] > cost[nodCrt] + vecin.second) //vecin.first -> nodul catre care duce arcul // vecin.second -> costul arcului
| ^
main.cpp: In function 'void problemaBFS()':
main.cpp:1022:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
1022 | for (int i = 1; i < rezultat.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 2ms | 184kb | OK | 10 | 10 |
| 2 | 2ms | 184kb | OK | 10 | 10 |
| 3 | 2ms | 184kb | OK | 10 | 10 |
| 4 | 2ms | 184kb | OK | 10 | 10 |
| 5 | 6ms | 380kb | OK | 10 | 30 |
| 6 | 88ms | 4997kb | OK | 10 | |
| 7 | 88ms | 5021kb | OK | 10 | |
| 8 | 106ms | 8200kb | OK | 10 | 10 |
| 9 | 54ms | 3719kb | OK | 10 | 10 |
| 10 | 107ms | 8343kb | OK | 10 | 10 |
| Punctaj total | 100 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
