Pagini recente » Borderou de evaluare (job #629861) | Borderou de evaluare (job #1361467) | Borderou de evaluare (job #500423) | Borderou de evaluare (job #1595140) | Borderou de evaluare (job #2790548)
Borderou de evaluare (job #2790548)
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 | 1ms | 184kb | Incorect | 0 |
3 | 1ms | 184kb | OK | 5 |
4 | 12ms | 409kb | OK | 5 |
5 | 1ms | 184kb | Incorect | 0 |
6 | 2ms | 184kb | Incorect | 0 |
7 | 1ms | 184kb | Incorect | 0 |
8 | 1ms | 184kb | Incorect | 0 |
9 | 1ms | 184kb | Incorect | 0 |
10 | 1ms | 184kb | Incorect | 0 |
11 | 20ms | 1662kb | Incorect | 0 |
12 | 13ms | 2080kb | Incorect | 0 |
13 | 34ms | 3076kb | Incorect | 0 |
14 | 63ms | 4358kb | Incorect | 0 |
15 | 44ms | 4632kb | Incorect | 0 |
16 | 61ms | 5521kb | Incorect | 0 |
17 | 84ms | 16625kb | OK | 5 |
18 | 15ms | 5361kb | Incorect | 0 |
19 | 14ms | 5652kb | Incorect | 0 |
20 | 122ms | 7712kb | Incorect | 0 |
Punctaj total | 15 |