Pagini recente » Borderou de evaluare (job #2007322) | Borderou de evaluare (job #1482244) | Borderou de evaluare (job #260681) | Borderou de evaluare (job #1077093) | Borderou de evaluare (job #2800152)
Borderou de evaluare (job #2800152)
Raport evaluator
Compilare:
main.cpp: In constructor 'graf_costuri::graf_costuri(int, int, bool)':
main.cpp:63:9: warning: 'graf_costuri::m' will be initialized after [-Wreorder]
63 | int m;
| ^
main.cpp:59:10: warning: 'bool graf_costuri::tip' [-Wreorder]
59 | bool tip; //se va specifica daca e orientat(1) sau neorientat(0)
| ^~~
main.cpp:68:5: warning: when initialized here [-Wreorder]
68 | graf_costuri(int noduri, int muchii, bool tip_graf):n(noduri), m(muchii), tip(tip_graf) {}
| ^~~~~~~~~~~~
main.cpp: In member function 'void graf_costuri::Dijkstra(int)':
main.cpp:104:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::tuple<int, int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
104 | for(int i=0; i<muchii_costuri.size(); ++i) //caut nodurile v pentru care exista muchia uv
| ~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf_neorientat::DFSbiconex(int, std::vector<int>*, int*, int*, int*, std::stack<int>&, std::vector<std::vector<int> >&)':
main.cpp:156:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
156 | for(int j=0; j<muchii[nod].size(); ++j)
| ~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf_neorientat::Componente_biconexe()':
main.cpp:218:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
218 | for(int i=0; i<componente.size(); ++i)
| ~^~~~~~~~~~~~~~~~~~
main.cpp:220:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
220 | for(int j=0; j<componente[i].size(); ++j)
| ~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf_neorientat::DFScritice(int, std::vector<int>*, int*, std::vector<std::vector<int> >&, int*, int*)':
main.cpp:242:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
242 | for(int j=0; j<muchii[nod].size(); ++j)
| ~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf_neorientat::MuchiiCritice()':
main.cpp:292:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
292 | for(int i=0; i<muchii_critice.size(); ++i)
| ~^~~~~~~~~~~~~~~~~~~~~~
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 j=0; j<muchii_critice[i].size(); ++j)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf_orientat::SortareTopologica()':
main.cpp:312:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
312 | for(int j=0; j<muchii[i].size(); ++j)
| ~^~~~~~~~~~~~~~~~~
main.cpp:332:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
332 | for(int j=0; j<muchii[vf].size(); ++j)
| ~^~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf_orientat::Graf_transpus(std::vector<int>*)':
main.cpp:350:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
350 | for(int j=0; j<muchii[i].size(); ++j)
| ~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf_orientat::DFStimpi(int, std::vector<int>*, int*, std::stack<int>&)':
main.cpp:357:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
357 | for(int i=0; i<muchii_curente[nod].size(); ++i)
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | OK | 10 |
2 | 1ms | 184kb | OK | 10 |
3 | 250ms | 307kb | OK | 10 |
4 | 815ms | 307kb | OK | 10 |
5 | 1001ms | 802kb | Time limit exceeded | 0 |
6 | 1001ms | 1204kb | Time limit exceeded | 0 |
7 | 1002ms | 1167kb | Time limit exceeded | 0 |
8 | 1002ms | 3551kb | Time limit exceeded | 0 |
9 | 1011ms | 1884kb | Time limit exceeded | 0 |
10 | 1002ms | 3514kb | Time limit exceeded | 0 |
Punctaj total | 40 |