Pagini recente » Borderou de evaluare (job #799028) | Borderou de evaluare (job #2497305) | Borderou de evaluare (job #2706574) | Borderou de evaluare (job #1091258) | Borderou de evaluare (job #2819923)
Borderou de evaluare (job #2819923)
Raport evaluator
Compilare:
main.cpp: In member function 'int Graph::hamilton()':
main.cpp:43:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for (int k = 0; k < adj_list_costs[j].size(); k++) //
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:53:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | for (int i = 0; i < adj_list_costs[0].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:53:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
53 | for (int i = 0; i < adj_list_costs[0].size(); ++i)
| ^~~
main.cpp:56:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
56 | return final_cost;
| ^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 262kb | Incorect | 0 |
2 | 2ms | 184kb | OK | 5 |
3 | 2ms | 184kb | OK | 5 |
4 | 2ms | 184kb | Incorect | 0 |
5 | 2ms | 184kb | Incorect | 0 |
6 | 2ms | 184kb | Incorect | 0 |
7 | 25ms | 4407kb | Incorect | 0 |
8 | 25ms | 4419kb | OK | 5 |
9 | 6ms | 1130kb | Incorect | 0 |
10 | 6ms | 1138kb | Incorect | 0 |
11 | 6ms | 1118kb | Incorect | 0 |
12 | 6ms | 1118kb | Incorect | 0 |
13 | 6ms | 1118kb | Incorect | 0 |
14 | 6ms | 1118kb | Incorect | 0 |
15 | 93ms | 19156kb | Incorect | 0 |
16 | 94ms | 19046kb | Incorect | 0 |
17 | 94ms | 19066kb | Incorect | 0 |
18 | 95ms | 19144kb | Incorect | 0 |
19 | 99ms | 19169kb | Incorect | 0 |
20 | 94ms | 19083kb | Incorect | 0 |
Punctaj total | 15 |