Pagini recente » Borderou de evaluare (job #862214) | Borderou de evaluare (job #2270212) | Borderou de evaluare (job #1660126) | Borderou de evaluare (job #193029) | Borderou de evaluare (job #2821606)
Borderou de evaluare (job #2821606)
Raport evaluator
Compilare:
main.cpp: In member function 'virtual std::vector<int> Graph::BFS(int)':
main.cpp:113:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
113 | for(int i=0; i < this->m_adjacency_list[curent].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'virtual void Graph::DFS(int, std::vector<int>&)':
main.cpp:159:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
159 | for(int i = 0; i < this->m_adjacency_list[source].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Graph::hakimi(std::vector<int>)':
main.cpp:178:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
178 | for(int i = 0; i < v.size(); i++){
| ~~^~~~~~~~~~
main.cpp:180:17: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
180 | if(v[i] >= v.size()) return false;
main.cpp: In member function 'void Undirected_graph::DFSBiconnected(int, int, int, std::vector<int>&, std::vector<int>&, std::vector<std::unordered_set<int> >&, std::stack<std::pair<int, int> >&)':
main.cpp:352:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
352 | for(int i = 0; i < this->m_adjacency_list[current_node].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Undirected_graph::DFSCriticals(int, int&, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<std::vector<int> >&)':
main.cpp:425:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
425 | for(int i = 0; i < m_adjacency_list[current_node].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Unoriented_bipartite_graph::DFS(int, std::vector<int>&, std::vector<int>&, std::vector<int>&)':
main.cpp:587:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
587 | for(int i = 0; i < m_adjacency_list[node].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:608:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
608 | for(int i = 0; i < m_adjacency_list[node].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<std::pair<int, int> > Undirected_graph_with_costs::prim(int&)':
main.cpp:733:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
733 | for(int j = 0; j < this->m_adjacency_list[root].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Undirected_graph_with_costs::introduce_in_APM(int, std::vector<int>&, std::vector<int>&)':
main.cpp:751:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
751 | for(int i = 0; i < this->m_adjacency_list[node].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Undirected_graph_with_costs::push(int, std::vector<int>&, std::vector<int>&, std::vector<int>&)':
main.cpp:832:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
832 | while((index * 2 <= heap.size() - 1 && distances[ heap[index] ] > distances[ heap[index * 2] ]) ||
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp:833:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
833 | (index * 2 + 1 <= heap.size() - 1 && distances[ heap[index] ] > distances[ heap[index * 2 + 1] ])){
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp:837:89: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
837 | if(distances[heap[index * 2]] < distances[heap[index * 2 + 1]] || index * 2 + 1 > heap.size() - 1){
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Directed_graph::tarjan(int, std::stack<int>&, std::vector<int>&, std::vector<int>&, int&, std::vector<int>&, std::vector<std::vector<int> >&)':
main.cpp:962:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
962 | for(int i=0; i<this->m_adjacency_list[node].size(); i++){
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 5 |
2 | 2ms | 184kb | OK | 5 |
3 | 2ms | 184kb | OK | 5 |
4 | 11ms | 638kb | OK | 5 |
5 | 1ms | 184kb | OK | 5 |
6 | 11ms | 3018kb | OK | 5 |
7 | 15ms | 5795kb | OK | 5 |
8 | 25ms | 8036kb | OK | 5 |
9 | 30ms | 10305kb | OK | 5 |
10 | 34ms | 12611kb | OK | 5 |
11 | 201ms | 111366kb | Time limit exceeded | 0 |
12 | 201ms | 112275kb | Time limit exceeded | 0 |
13 | 201ms | 112787kb | Time limit exceeded | 0 |
14 | 201ms | 111878kb | Time limit exceeded | 0 |
15 | 200ms | 110276kb | Time limit exceeded | 0 |
16 | 201ms | 112254kb | Time limit exceeded | 0 |
17 | 200ms | 111218kb | Time limit exceeded | 0 |
18 | 200ms | 112603kb | Time limit exceeded | 0 |
19 | 200ms | 111374kb | Time limit exceeded | 0 |
20 | 200ms | 112021kb | Time limit exceeded | 0 |
Punctaj total | 50 |