Pagini recente » Borderou de evaluare (job #667076) | Borderou de evaluare (job #2884852) | Borderou de evaluare (job #2648383) | Borderou de evaluare (job #255454) | Borderou de evaluare (job #2790489)
Borderou de evaluare (job #2790489)
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:156:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
156 | 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 | 5ms | 307kb | OK | 5 |
5 | 1ms | 184kb | Incorect | 0 |
6 | 1ms | 184kb | Incorect | 0 |
7 | 1ms | 184kb | Incorect | 0 |
8 | 12ms | 290kb | Incorect | 0 |
9 | 1ms | 184kb | Incorect | 0 |
10 | 12ms | 221kb | Incorect | 0 |
11 | 39ms | 868kb | Incorect | 0 |
12 | 19ms | 2146kb | Incorect | 0 |
13 | 25ms | 2957kb | Incorect | 0 |
14 | 30ms | 4263kb | Incorect | 0 |
15 | 79ms | 4591kb | Incorect | 0 |
16 | 48ms | 5468kb | Incorect | 0 |
17 | 149ms | 16678kb | OK | 5 |
18 | 20ms | 5423kb | Incorect | 0 |
19 | 12ms | 5599kb | Incorect | 0 |
20 | 121ms | 7733kb | Incorect | 0 |
Punctaj total | 15 |