Pagini recente » Borderou de evaluare (job #88281) | Borderou de evaluare (job #934890) | Borderou de evaluare (job #392994) | Borderou de evaluare (job #3129504) | Borderou de evaluare (job #2801682)
Borderou de evaluare (job #2801682)
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 function 'int main()':
main.cpp:182:25: warning: unused variable 'cost' [-Wunused-variable]
182 | int aux1, aux2, cost;
| ^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 1ms | 184kb | Incorect | 0 |
| 2 | 2ms | 184kb | Incorect | 0 |
| 3 | 1ms | 184kb | OK | 5 |
| 4 | 15ms | 1060kb | OK | 5 |
| 5 | 1ms | 184kb | Incorect | 0 |
| 6 | 1ms | 184kb | Incorect | 0 |
| 7 | 2ms | 184kb | Incorect | 0 |
| 8 | 12ms | 315kb | Incorect | 0 |
| 9 | 1ms | 184kb | Incorect | 0 |
| 10 | 12ms | 376kb | Incorect | 0 |
| 11 | 46ms | 2453kb | Incorect | 0 |
| 12 | 25ms | 1658kb | Incorect | 0 |
| 13 | 31ms | 2244kb | Incorect | 0 |
| 14 | 35ms | 2719kb | Incorect | 0 |
| 15 | 36ms | 3178kb | Incorect | 0 |
| 16 | 56ms | 3911kb | Incorect | 0 |
| 17 | 92ms | 15474kb | OK | 5 |
| 18 | 40ms | 2666kb | Incorect | 0 |
| 19 | 39ms | 2797kb | Incorect | 0 |
| 20 | 126ms | 5099kb | Incorect | 0 |
| Punctaj total | 15 |