Pagini recente » Borderou de evaluare (job #331822) | Borderou de evaluare (job #2147662) | Borderou de evaluare (job #381972) | Borderou de evaluare (job #3295656) | Borderou de evaluare (job #2802277)
Borderou de evaluare (job #2802277)
Raport evaluator
Compilare:
main.cpp: In member function 'std::vector<std::__cxx11::list<Graph::nodeStruct> > Graph::transposed()':
main.cpp:20:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::nodeStruct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(int i = 0; i < adjacent.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In constructor 'Graph::Graph(std::vector<std::tuple<int, int, int> >&, int, bool)':
main.cpp:83:17: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
83 | for(auto[node1, node2, cost]: data) {
| ^
main.cpp: In function 'std::ostream& operator<<(std::ostream&, Graph)':
main.cpp:91:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::nodeStruct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
91 | for(int i = 0; i < graph.adjacent.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Graph::connected()':
main.cpp:102:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::nodeStruct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
102 | for(int i = 0; i < adjacent.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::stack<int> Graph::topologicalSort()':
main.cpp:120:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::nodeStruct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
120 | for(int i = 0; i < adjacent.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::pair<std::vector<std::vector<int> >, std::vector<std::pair<int, int> > > Graph::biconnected()':
main.cpp:131:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::nodeStruct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
131 | for (int i = 0; i < adjacent.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<std::vector<int> > Graph::hardConnected()':
main.cpp:141:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::nodeStruct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
141 | for(int i = 0; i < adjacent.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::pair<std::vector<int>, bool> Graph::dijkstra(int)':
main.cpp:171:31: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<std::__cxx11::list<Graph::nodeStruct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
171 | if (visited[node] >= adjacent.size() || node == start)
main.cpp: In function 'int main()':
main.cpp:193:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
193 | for(int i = 1; i < dijks.first.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp:182:15: warning: unused variable 'start' [-Wunused-variable]
182 | int n, m, start;
| ^~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 1ms | 184kb | OK | 5 | 5 |
| 2 | 1ms | 184kb | OK | 5 | 5 |
| 3 | 1ms | 184kb | Incorect | 0 | 0 |
| 4 | 1ms | 184kb | Incorect | 0 | 0 |
| 5 | 2ms | 184kb | Incorect | 0 | 0 |
| 6 | 1ms | 184kb | Incorect | 0 | 0 |
| 7 | 1ms | 184kb | OK | 5 |
| 8 | 20ms | 1499kb | Incorect | 0 | 0 |
| 9 | 83ms | 2818kb | Incorect | 0 |
| 10 | 1ms | 184kb | OK | 5 |
| 11 | 39ms | 2674kb | Incorect | 0 | 0 |
| 12 | 175ms | 6369kb | Incorect | 0 |
| 13 | 185ms | 4653kb | Incorect | 0 |
| 14 | 245ms | 9547kb | Incorect | 0 |
| 15 | 315ms | 10313kb | Incorect | 0 | 0 |
| 16 | 328ms | 8093kb | Incorect | 0 |
| 17 | 2ms | 184kb | OK | 5 |
| 18 | 285ms | 11763kb | Incorect | 0 | 0 |
| 19 | 370ms | 13639kb | Incorect | 0 |
| 20 | 1ms | 196kb | OK | 5 |
| Punctaj total | 10 |