Pagini recente » Borderou de evaluare (job #158958) | Borderou de evaluare (job #2765313) | Borderou de evaluare (job #65821) | Borderou de evaluare (job #719515) | Borderou de evaluare (job #3178370)
Borderou de evaluare (job #3178370)
Raport evaluator
Compilare:
main.cpp:631:5: warning: "/*" within comment [-Wcomment]
631 | /*
|
main.cpp: In member function 'int Graph::dijkstra(int, int, int, int)':
main.cpp:195:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
195 | for(int i = 0 ; i < this->adjacency[current].size() ; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<std::pair<int, long long int> > Graph::dijkstraPathAndCost(int)':
main.cpp:238:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
238 | for(int i = 0 ; i < this->adjacency[current].size() ; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graph::zeroOneBFS(int)':
main.cpp:268:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
268 | for(int i = 0 ; i < this->adjacency[current].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solution::rusuoaica()':
main.cpp:437:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
437 | for(int i = 0 ; i < newEdgeList.size() ; i++){
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::findCheapestPrice(int, std::vector<std::vector<int> >&, int, int, int)':
main.cpp:466:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
466 | for(int i = 0; i < flights.size() ; i++)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::dragoni1(std::ifstream&, int, int*)':
main.cpp:485:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
485 | for(int i = 1 ; i < costs.size() ; i++){
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::dragoni2(std::ifstream&, int, int*)':
main.cpp:528:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
528 | for(int i = 0 ; i < graf[currentNode].size() ; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solution::MSTKruskal(Graph, std::vector<Edge>&, int)':
main.cpp:618:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
618 | for(int i = 0 ; i < result.size() ; i++){
| ~~^~~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::jzzhuAndCities()':
main.cpp:781:1: warning: no return statement in function returning non-void [-Wreturn-type]
781 | }
| ^
main.cpp: In member function 'int Solution::dragoni2(std::ifstream&, int, int*)':
main.cpp:545:1: warning: control reaches end of non-void function [-Wreturn-type]
545 | }
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | Missing output file! | 0 | 0 |
11 | 0ms | 303kb | Missing output file! | 0 |
2 | 0ms | 303kb | Missing output file! | 0 | 0 |
12 | 0ms | 303kb | Missing output file! | 0 |
3 | 0ms | 303kb | Missing output file! | 0 | 0 |
13 | 0ms | 303kb | Missing output file! | 0 |
4 | 0ms | 303kb | Missing output file! | 0 | 0 |
14 | 0ms | 303kb | Missing output file! | 0 |
5 | 0ms | 303kb | Missing output file! | 0 | 0 |
15 | 0ms | 303kb | Missing output file! | 0 |
6 | 0ms | 303kb | Missing output file! | 0 | 0 |
16 | 0ms | 303kb | Missing output file! | 0 |
7 | 0ms | 303kb | Missing output file! | 0 | 0 |
17 | 0ms | 303kb | Missing output file! | 0 |
8 | 0ms | 303kb | Missing output file! | 0 | 0 |
18 | 0ms | 303kb | Missing output file! | 0 |
9 | 0ms | 303kb | Missing output file! | 0 | 0 |
19 | 0ms | 303kb | Missing output file! | 0 |
10 | 0ms | 303kb | Missing output file! | 0 | 0 |
20 | 0ms | 303kb | Missing output file! | 0 |
Punctaj total | 0 |