Pagini recente » Borderou de evaluare (job #2129327) | Borderou de evaluare (job #1075493) | Borderou de evaluare (job #1832897) | Borderou de evaluare (job #552100) | Borderou de evaluare (job #2822293)
Borderou de evaluare (job #2822293)
Raport evaluator
Compilare:
main.cpp: In constructor 'graph::graph(int, int, std::vector<std::vector<int> >&)':
main.cpp:62:9: warning: 'graph::edges' will be initialized after [-Wreorder]
62 | int edges = 0;
| ^~~~~
main.cpp:59:30: warning: 'std::vector<std::vector<int> > graph::Ad' [-Wreorder]
59 | vector< vector < int > > Ad;
| ^~
main.cpp:75:5: warning: when initialized here [-Wreorder]
75 | graph( int n, int m, vector < vector < int > > & ad ) : nodes(n), edges(m), Ad(ad) {}
| ^~~~~
main.cpp: In constructor 'graph::graph(int, int, std::vector<std::vector<int> >&, std::vector<std::vector<int> >&)':
main.cpp:80:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
80 | for( int j = 0; j < ad[i].size(); ++j){
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'void graph::DFS(int, std::vector<bool>&)':
main.cpp:126:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
126 | for( int i = 0; i < Ad[nod].size(); ++i ){
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void graph::DFSr(int, std::vector<bool>&, std::vector<std::vector<int> >&, std::vector<int>&)':
main.cpp:134:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
134 | for( int i = 0; i < ad[nod].size(); ++i ){
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> graph::BFS(int)':
main.cpp:151:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
151 | for( int i = 0; i < Ad[x].size(); ++i ){
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'std::pair<int, std::vector<std::pair<int, int> > > graph::Kruskal()':
main.cpp:190:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
190 | for( int j = 0; j < Ad[i].size(); ++j ){
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> graph::Dijkstra(int)':
main.cpp:228:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
228 | for( int i = 0; i < Ad[nod].size(); ++i ){
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'std::pair<bool, std::vector<int> > graph::BellmanFord(int)':
main.cpp:262:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
262 | for( int i = 0; i < Ad[nod].size(); ++i ){
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void graph::TopoDFS(int, std::vector<bool>&, std::stack<int>&)':
main.cpp:289:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
289 | for( int i = 0; i < Ad[nod].size(); ++i ){
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<std::vector<int> > graph::StronglyConnectedComponents()':
main.cpp:310:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
310 | for( int j = 0; j < Ad[i].size(); ++j)
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'void graph::BridgesDFS(int, int, std::vector<bool>&, std::vector<int>&, std::vector<int>&, std::vector<std::pair<int, int> >&)':
main.cpp:336:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
336 | for( int i = 0; i < Ad[nod].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 | 524kb | OK | 5 |
5 | 2ms | 184kb | OK | 5 |
6 | 2ms | 184kb | OK | 5 |
7 | 2ms | 262kb | OK | 5 |
8 | 2ms | 184kb | OK | 5 |
9 | 2ms | 184kb | OK | 5 |
10 | 2ms | 184kb | OK | 5 |
11 | 30ms | 1728kb | OK | 5 |
12 | 25ms | 2007kb | OK | 5 |
13 | 35ms | 2965kb | OK | 5 |
14 | 44ms | 3903kb | OK | 5 |
15 | 58ms | 4349kb | OK | 5 |
16 | 73ms | 5222kb | OK | 5 |
17 | 104ms | 12988kb | OK | 5 |
18 | 11ms | 4980kb | OK | 5 |
19 | 16ms | 5210kb | OK | 5 |
20 | 87ms | 7340kb | OK | 5 |
Punctaj total | 100 |