Pagini recente » Borderou de evaluare (job #2206463) | Borderou de evaluare (job #1054588) | Borderou de evaluare (job #3132781) | Borderou de evaluare (job #2800153)
Borderou de evaluare (job #2800153)
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 | 274kb | OK | 10 |
2 | 3ms | 286kb | OK | 10 |
3 | 366ms | 249kb | OK | 10 |
4 | 812ms | 307kb | OK | 10 |
5 | 1002ms | 688kb | Time limit exceeded | 0 |
6 | 1002ms | 1105kb | Time limit exceeded | 0 |
7 | 1003ms | 1134kb | Time limit exceeded | 0 |
8 | 1000ms | 3563kb | Time limit exceeded | 0 |
9 | 1000ms | 1957kb | Time limit exceeded | 0 |
10 | 1000ms | 3543kb | Time limit exceeded | 0 |
Punctaj total | 40 |