Pagini recente » Borderou de evaluare (job #2076835) | Borderou de evaluare (job #1651660) | Borderou de evaluare (job #529020) | Borderou de evaluare (job #371907) | Borderou de evaluare (job #3041605)
Borderou de evaluare (job #3041605)
Raport evaluator
Compilare:
main.cpp: In member function 'int Graph::dfs(int, int)':
main.cpp:40:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Graph::edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for(int &h = rem[a]; h < vecini[a].size() ; h++)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::add(int, int, int)':
main.cpp:67:50: warning: narrowing conversion of '(&((Graph*)this)->Graph::vecini.std::vector<std::vector<Graph::edge> >::operator[](((std::vector<std::vector<Graph::edge> >::size_type)b)))->std::vector<Graph::edge>::size()' from 'std::vector<Graph::edge>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
67 | vecini[a].push_back({b,c,0,vecini[b].size()});
| ~~~~~~~~~~~~~~^~
main.cpp:68:53: warning: narrowing conversion of '((&((Graph*)this)->Graph::vecini.std::vector<std::vector<Graph::edge> >::operator[](((std::vector<std::vector<Graph::edge> >::size_type)a)))->std::vector<Graph::edge>::size() - 1)' from 'std::vector<Graph::edge>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
68 | vecini[b].push_back({a,0,0,vecini[a].size() - 1});
| ~~~~~~~~~~~~~~~~~^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | OK | 10 | 10 |
2 | 0ms | 303kb | OK | 10 | 10 |
3 | 0ms | 303kb | OK | 10 | 10 |
4 | 0ms | 303kb | OK | 10 | 10 |
5 | 0ms | 303kb | OK | 10 | 10 |
6 | 0ms | 303kb | OK | 10 | 10 |
7 | 1ms | 557kb | OK | 10 | 10 |
8 | 1ms | 557kb | OK | 10 | 30 |
9 | 2ms | 557kb | OK | 10 |
10 | 2ms | 557kb | OK | 10 |
Punctaj total | 100 |