Pagini recente » Borderou de evaluare (job #3198004) | Borderou de evaluare (job #2414106) | Borderou de evaluare (job #2775147) | Borderou de evaluare (job #1441680) | Borderou de evaluare (job #2820159)
Borderou de evaluare (job #2820159)
Raport evaluator
Compilare:
main.cpp: In member function 'void graph::Dfs(int)':
main.cpp:32:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for( int i = 0; i < ad[node].size(); ++i ) {
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graph::Dfs2(int, int, std::vector<std::vector<int> >&)':
main.cpp:43:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for( int i = 0; i < ad[node].size(); ++i ) {
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graph::Dfs3(int)':
main.cpp:75:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | for( int i = 0; i < ad[node].size(); ++i ) {
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graph::Dfs4(int, std::vector<int>&)':
main.cpp:88:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
88 | for( int i = 0; i < reverseAd[node].size(); ++i ) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool graph::Dfs5(int)':
main.cpp:99:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
99 | for( int i = 0; i < ad[nod].size(); ++i ) {
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'bool graph::isReachable()':
main.cpp:131:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
131 | for( int i = 0; i < ad[u].size(); ++i ) {
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'bool graph::Bfs()':
main.cpp:165:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
165 | for( int i = 0; i < ad[u].size(); ++i ) {
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'void graph::bfsTraversal(int)':
main.cpp:260:31: 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[u].size(); ++i ) {
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'int graph::maxFlow()':
main.cpp:345:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
345 | for( int i = 0; i < ad[N].size(); ++i ) {
| ~~^~~~~~~~~~~~~~
main.cpp: In static member function 'static bool graph::HavelHakimiUtillity(std::vector<int>)':
main.cpp:375:31: 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]
375 | if( degree.back() > degree.size() - 1 )
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool graph::isEulerian()':
main.cpp:414:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
414 | for( int i = 0; i < ad.size(); ++i )
| ~~^~~~~~~~~~~
main.cpp: In member function 'std::vector<int> graph::eulerCycle()':
main.cpp:444:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
444 | for( int i = 0; i < ad[w].size(); ++i )
| ~~^~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 2ms | 184kb | OK | 10 |
4 | 2ms | 184kb | OK | 10 |
5 | 2ms | 184kb | OK | 10 |
6 | 16ms | 622kb | OK | 10 |
7 | 35ms | 1187kb | OK | 10 |
8 | 16ms | 876kb | Killed by Signal 11 | 0 |
9 | 35ms | 1617kb | Killed by Signal 11 | 0 |
10 | 73ms | 2260kb | Killed by Signal 11 | 0 |
Punctaj total | 70 |