Pagini recente » Borderou de evaluare (job #1054669) | Cod sursa (job #2411278) | Borderou de evaluare (job #2221727) | Borderou de evaluare (job #2361667) | Borderou de evaluare (job #2816691)
Borderou de evaluare (job #2816691)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::printListOfNeighbours() const':
main.cpp:87:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
87 | for (int i = 1; i < this->listOfNeighbours.size() - 1; i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:90:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
90 | for (int j = 0; j < listOfNeighbours[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'bool Graph::HavelHakimi(std::vector<int>)':
main.cpp:269:28: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
269 | if (degrees.size() < currentDegree)
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graph::disjoint(std::vector<std::pair<int, std::pair<int, int> > >)':
main.cpp:336:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, std::pair<int, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
336 | for (int i = 0; i < tasks.size(); i++)
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'int Graph::treeDiameter()':
main.cpp:360:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
360 | for (int i = 1; i < distance.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp:367:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
367 | for (int i = 0; i < visited.size(); i++)
| ~~^~~~~~~~~~~~~~~~
main.cpp:373:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
373 | for (int i = 1; i < distance.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void BFSinfoarena()':
main.cpp:554:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
554 | for (int i = 1; i < distance.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void ctcInfoarena()':
main.cpp:597:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
597 | for (int i = 0; i < solution.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp:599:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
599 | for (int j = 0; j < solution[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void biconexInfoarena()':
main.cpp:618:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
618 | for (int i = 0; i < solution.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp:620:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
620 | for (int j = 0; j < solution[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void CCNleetcode()':
main.cpp:639:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
639 | for (int i = 0; i < criticalEdges.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:641:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
641 | for (int j = 0; j < criticalEdges[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 184kb | Raspuns corect! | 10 | 10 |
2 | 2ms | 184kb | Raspuns corect! | 10 | 10 |
3 | 6ms | 679kb | Raspuns corect! | 10 | 10 |
4 | 64ms | 5955kb | Raspuns corect! | 10 | 10 |
5 | 196ms | 13021kb | Raspuns corect! | 10 | 10 |
6 | 746ms | 41254kb | Raspuns corect! | 10 | 10 |
7 | 253ms | 14966kb | Raspuns corect! | 10 | 0 |
8 | 802ms | 53731kb | Time limit exceeded | 0 |
9 | 763ms | 61239kb | Raspuns corect! | 10 | 0 |
10 | 803ms | 43184kb | Time limit exceeded | 0 |
Punctaj total | 60 |