Pagini recente » Borderou de evaluare (job #2740874) | Borderou de evaluare (job #1437044) | Borderou de evaluare (job #2559699) | Borderou de evaluare (job #895511) | Borderou de evaluare (job #3178498)
Borderou de evaluare (job #3178498)
Raport evaluator
Compilare:
main.cpp:634:5: warning: "/*" within comment [-Wcomment]
634 | /*
|
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:239: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]
239 | for(int i = 0 ; i < this->adjacency[current].size() ; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graph::zeroOneBFS(int)':
main.cpp:269: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]
269 | for(int i = 0 ; i < this->adjacency[current].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solution::rusuoaica()':
main.cpp:438:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
438 | 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:467:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
467 | for(int i = 0; i < flights.size() ; i++)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::dragoni1(std::ifstream&, int, int*)':
main.cpp:486:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
486 | for(int i = 1 ; i < costs.size() ; i++){
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::dragoni2(std::ifstream&, int, int*)':
main.cpp:529: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]
529 | for(int i = 0 ; i < graf[currentNode].size() ; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solution::MSTKruskal(Graph, std::vector<Edge>&, int)':
main.cpp:621:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
621 | for(int i = 0 ; i < result.size() ; i++){
| ~~^~~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::jzzhuAndCities()':
main.cpp:786:1: warning: no return statement in function returning non-void [-Wreturn-type]
786 | }
| ^
main.cpp: In member function 'int Solution::dragoni2(std::ifstream&, int, int*)':
main.cpp:546:1: warning: control reaches end of non-void function [-Wreturn-type]
546 | }
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | Corect | 5 | 10 |
11 | 0ms | 303kb | Corect | 5 |
2 | 0ms | 303kb | Corect | 5 | 10 |
12 | 0ms | 303kb | Corect | 5 |
3 | 1ms | 557kb | Corect | 5 | 10 |
13 | 6ms | 1081kb | Corect | 5 |
4 | 1ms | 557kb | Corect | 5 | 0 |
14 | 10ms | 712kb | Killed by Signal 11 | 0 |
5 | 2ms | 557kb | Corect | 5 | 10 |
15 | 3ms | 819kb | Corect | 5 |
6 | 252ms | 20557kb | Corect | 5 | 10 |
16 | 0ms | 303kb | Corect | 5 |
7 | 212ms | 19030kb | Corect | 5 | 10 |
17 | 0ms | 303kb | Corect | 5 |
8 | 176ms | 18223kb | Corect | 5 | 10 |
18 | 113ms | 15003kb | Corect | 5 |
9 | 242ms | 20234kb | Corect | 5 | 0 |
19 | 144ms | 66703kb | Memory limit exceeded | 0 |
10 | 257ms | 20762kb | Corect | 5 | 0 |
20 | 143ms | 66256kb | Memory limit exceeded | 0 |
Punctaj total | 70 |