Pagini recente » Borderou de evaluare (job #1705571) | Borderou de evaluare (job #2508586) | Borderou de evaluare (job #2331571) | Borderou de evaluare (job #1945229) | Borderou de evaluare (job #2975016)
Borderou de evaluare (job #2975016)
Raport evaluator
Compilare:
main.cpp: In member function 'int Graph::dfs(int, int)':
main.cpp:47:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Graph::muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for(int &h = rem[nod] ; h < vecini[nod].size() ; h++)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::add(int, int, int, int)':
main.cpp:76:46: warning: narrowing conversion of '(&((Graph*)this)->Graph::vecini.std::vector<std::vector<Graph::muchie> >::operator[](((std::vector<std::vector<Graph::muchie> >::size_type)b)))->std::vector<Graph::muchie>::size()' from 'std::vector<Graph::muchie>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
76 | vecini[a].push_back({b,vecini[b].size(),c,0,timp});
| ~~~~~~~~~~~~~~^~
main.cpp:77:49: warning: narrowing conversion of '((&((Graph*)this)->Graph::vecini.std::vector<std::vector<Graph::muchie> >::operator[](((std::vector<std::vector<Graph::muchie> >::size_type)a)))->std::vector<Graph::muchie>::size() - 1)' from 'std::vector<Graph::muchie>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
77 | vecini[b].push_back({a,vecini[a].size() - 1,0,0,timp});
| ~~~~~~~~~~~~~~~~~^~~
main.cpp: In member function 'void Graph::getcut()':
main.cpp:101:14: warning: unused variable 'vfol' [-Wunused-variable]
101 | bool vfol = bfs();
| ^~~~
main.cpp: In function 'int main()':
main.cpp:126:17: warning: unused variable 'c' [-Wunused-variable]
126 | int n,m,a,b,c;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 184kb | Incorect | 0 | 0 |
2 | 0ms | 184kb | Incorect | 0 |
3 | 1ms | 184kb | OK | 4 |
4 | 0ms | 184kb | Incorect | 0 |
5 | 0ms | 184kb | Incorect | 0 |
6 | 0ms | 184kb | Incorect | 0 |
7 | 0ms | 184kb | Incorect | 0 |
8 | 0ms | 184kb | Incorect | 0 |
9 | 0ms | 184kb | Incorect | 0 |
10 | 0ms | 184kb | Incorect | 0 |
11 | 0ms | 184kb | Incorect | 0 |
12 | 0ms | 184kb | Incorect | 0 |
13 | 0ms | 184kb | Incorect | 0 |
14 | 0ms | 184kb | Incorect | 0 |
15 | 0ms | 184kb | Incorect | 0 |
16 | 0ms | 184kb | Incorect | 0 |
17 | 0ms | 184kb | Incorect | 0 |
18 | 0ms | 184kb | Incorect | 0 |
19 | 0ms | 184kb | Incorect | 0 |
20 | 0ms | 184kb | OK | 4 |
21 | 0ms | 184kb | Incorect | 0 |
22 | 0ms | 188kb | Incorect | 0 |
23 | 0ms | 184kb | Incorect | 0 |
24 | 0ms | 184kb | Incorect | 0 |
25 | 0ms | 184kb | Incorect | 0 |
Punctaj total | 0 |