Pagini recente » Borderou de evaluare (job #1290676) | Borderou de evaluare (job #1159228) | Borderou de evaluare (job #2036167) | Borderou de evaluare (job #2209973) | Borderou de evaluare (job #2790678)
Borderou de evaluare (job #2790678)
Raport evaluator
Compilare:
main.cpp: In constructor 'Graf::Graf(int, int, std::vector<std::vector<int> >)':
main.cpp:32:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for (int i = 1; i < Lista_de_adiacenta.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:33:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for (int j = 0; j < Lista_de_adiacenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::afisare(std::ostream&)':
main.cpp:66:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
66 | for (int i = 1; i < Lista_de_adiacenta.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:67:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
67 | for (int j = 0; j < Lista_de_adiacenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::BFS(int)':
main.cpp:98:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
98 | for (int i = 0; i < Lista_de_adiacenta[primul_nod_din_coada].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::DFS(int, std::vector<int>&)':
main.cpp:112:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
112 | for (int i = 0; i < Lista_de_adiacenta[Nod_start].size(); i++)///parcurgem vecinii nodului
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void BFS_infoarena()':
main.cpp:155:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
155 | for (int i = 1; i < Distante.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 1ms | 184kb | Incorect | 0 |
| 2 | 2ms | 184kb | Incorect | 0 |
| 3 | 1ms | 184kb | OK | 5 |
| 4 | 9ms | 471kb | OK | 5 |
| 5 | 1ms | 184kb | Incorect | 0 |
| 6 | 2ms | 184kb | Incorect | 0 |
| 7 | 1ms | 184kb | Incorect | 0 |
| 8 | 1ms | 184kb | Incorect | 0 |
| 9 | 11ms | 307kb | Incorect | 0 |
| 10 | 1ms | 217kb | Incorect | 0 |
| 11 | 24ms | 1556kb | Incorect | 0 |
| 12 | 35ms | 2154kb | Incorect | 0 |
| 13 | 40ms | 2977kb | Incorect | 0 |
| 14 | 28ms | 4345kb | Incorect | 0 |
| 15 | 39ms | 4538kb | Incorect | 0 |
| 16 | 51ms | 5500kb | Incorect | 0 |
| 17 | 132ms | 16650kb | OK | 5 |
| 18 | 8ms | 5378kb | Incorect | 0 |
| 19 | 18ms | 5652kb | Incorect | 0 |
| 20 | 87ms | 7790kb | Incorect | 0 |
| Punctaj total | 15 |