Pagini recente » Borderou de evaluare (job #3208980) | Borderou de evaluare (job #2256236) | Borderou de evaluare (job #2256148) | Borderou de evaluare (job #2789697) | Borderou de evaluare (job #2820183)
Borderou de evaluare (job #2820183)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::addEdgeCost(int, int, int)':
main.cpp:100:22: warning: comparison of integer expressions of different signedness: 'std::vector<std::vector<edgeCost> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
100 | if(AdCost.size() <= n)
| ~~~~~~~~~~~~~~^~~~
main.cpp: In member function 'int Graph::getMinCostHamiltonCircuit()':
main.cpp:555:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edgeCost>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
555 | for (int j = 0; j < AdCost[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:558:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
558 | for(int i = 0; i < dp.size(); ++i)
| ~~^~~~~~~~~~~
main.cpp:565:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edgeCost>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
565 | for(int k = 0; k < AdCost[j].size(); ++k){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:572:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edgeCost>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
572 | for(int i = 0; i < AdCost[0].size(); ++i){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'void sccHelper()':
main.cpp:685:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
685 | for(int i = 0; i<scc.size(); ++i){
| ~^~~~~~~~~~~
main.cpp:686:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
686 | for(int j = 0; j<scc[i].size(); ++j)
| ~^~~~~~~~~~~~~~
main.cpp: In function 'void mstHelper()':
main.cpp:713:21: 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]
713 | for(int i = 0; i<result.size(); ++i)
| ~^~~~~~~~~~~~~~
main.cpp:716:21: 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]
716 | for(int i = 0; i<result.size(); ++i)
| ~^~~~~~~~~~~~~~
main.cpp: In function 'void eulerCycleHelper()':
main.cpp:755:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
755 | for(int i = 0; i-1 < cycle.size(); ++i){
| ~~~~^~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<std::tuple<int, int, int> > Graph::getMST()':
main.cpp:219:41: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
219 | for(int i = 0; i < nr && solSize < n-1; ++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 | 58ms | 7077kb | OK | 5 |
| 8 | 49ms | 6995kb | OK | 5 |
| 9 | 25ms | 1921kb | OK | 5 |
| 10 | 21ms | 1892kb | OK | 5 |
| 11 | 20ms | 1925kb | OK | 5 |
| 12 | 20ms | 1966kb | OK | 5 |
| 13 | 25ms | 1888kb | OK | 5 |
| 14 | 21ms | 1888kb | OK | 5 |
| 15 | 462ms | 31793kb | OK | 5 |
| 16 | 407ms | 31739kb | OK | 5 |
| 17 | 320ms | 31764kb | OK | 5 |
| 18 | 602ms | 31780kb | OK | 5 |
| 19 | 450ms | 31727kb | OK | 5 |
| 20 | 577ms | 31703kb | OK | 5 |
| Punctaj total | 100 |