Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2798147)
| Utilizator | Data | 10 noiembrie 2021 22:56:08 | |
|---|---|---|---|
| Problema | Sortare topologica | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In member function 'void graf::BFS(int)':
main.cpp:58:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | for (int i = 0; i < matriceAd[x].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:51:16: warning: unused variable 'y' [-Wunused-variable]
51 | int x, y;
| ^
main.cpp: In member function 'void graf::DFS()':
main.cpp:80:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
80 | for (int j = 1; j < matriceAd[x].size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::sortaret(std::vector<int>&)':
main.cpp:101:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
101 | for (int i = 1; i < matriceAd[x].size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 1ms | 184kb | OK | 10 |
| 2 | 1ms | 184kb | OK | 10 |
| 3 | 1ms | 184kb | OK | 10 |
| 4 | 1ms | 184kb | OK | 10 |
| 5 | 4ms | 700kb | OK | 10 |
| 6 | 6ms | 831kb | OK | 10 |
| 7 | 21ms | 2199kb | OK | 10 |
| 8 | 40ms | 3133kb | OK | 10 |
| 9 | 134ms | 5713kb | OK | 10 |
| 10 | 129ms | 7262kb | OK | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
