Pagini recente » Borderou de evaluare (job #564009) | Borderou de evaluare (job #2999397) | Concursuri | Borderou de evaluare (job #2900539) | Borderou de evaluare (job #2820101)
Borderou de evaluare (job #2820101)
Raport evaluator
Compilare:
main.cpp: In constructor 'graph::graph(int, int, std::vector<std::vector<int> >&)':
main.cpp:81:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | for( int j = 0; j < ad[i].size(); ++j)
| ~~^~~~~~~~~~~~~~
main.cpp: In constructor 'graph::graph(int, int, std::vector<std::vector<int> >&, std::vector<std::vector<int> >&)':
main.cpp:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
89 | for( int j = 0; j < ad[i].size(); ++j){
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'void graph::DFS(int, 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 'void 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 'void graph::Kruskal()':
main.cpp:189:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
189 | for( int j = 0; j < Ad[i].size(); ++j ){
| ~~^~~~~~~~~~~~~~
main.cpp:211:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
211 | for( int i = 0; i < Sol.size(); ++i )
| ~~^~~~~~~~~~~~
main.cpp: In member function 'void 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 'void graph::BellmanFord(int)':
main.cpp:260:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
260 | 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:294:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
294 | for( int i = 0; i < Ad[nod].size(); ++i ){
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<std::vector<int> > graph::StronglyConnectedComponents()':
main.cpp:319:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
319 | for( int j = 0; j < Ad[i].size(); ++j)
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'int** graph::RoyFloyd()':
main.cpp:352:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
352 | for( int j = 0; j < Ad[i].size(); ++j )
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'void graph::DFSdiameter(int, int, int, int&, int&)':
main.cpp:374:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
374 | 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 | 2ms | 184kb | OK | 5 |
| 5 | 2ms | 184kb | OK | 5 |
| 6 | 2ms | 184kb | OK | 5 |
| 7 | 35ms | 6967kb | Incorect | 0 |
| 8 | 30ms | 6975kb | Incorect | 0 |
| 9 | 16ms | 1921kb | OK | 5 |
| 10 | 16ms | 1916kb | OK | 5 |
| 11 | 16ms | 1925kb | OK | 5 |
| 12 | 20ms | 1884kb | OK | 5 |
| 13 | 20ms | 1904kb | OK | 5 |
| 14 | 16ms | 1908kb | OK | 5 |
| 15 | 382ms | 31723kb | OK | 5 |
| 16 | 361ms | 31739kb | OK | 5 |
| 17 | 272ms | 31674kb | OK | 5 |
| 18 | 444ms | 31686kb | OK | 5 |
| 19 | 397ms | 31744kb | OK | 5 |
| 20 | 450ms | 31723kb | OK | 5 |
| Punctaj total | 90 |