Pagini recente » Borderou de evaluare (job #2133785) | Borderou de evaluare (job #2824586) | Borderou de evaluare (job #2831780) | Borderou de evaluare (job #2522778) | Borderou de evaluare (job #3180336)
Borderou de evaluare (job #3180336)
Raport evaluator
Compilare:
main.cpp: In member function 'void Solutie::apm2()':
main.cpp:150:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
150 | for (int i = 0; i < drumuri.size(); i++) {
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solutie::camionas()':
main.cpp:187:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
187 | for (int i=0; i<adj[nodCurent].size(); i++) {
| ~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solutie::jzzhuAndCities()':
main.cpp:241:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
241 | for (int i = 0; i < adj[nod].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solutie::findCheapestPrice()':
main.cpp:305:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
305 | for (int i=0; i<adj[nod].size(); i++) {
| ~^~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solutie::oracol()':
main.cpp:339:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
339 | for (int j=0; j<muchii.size(); j++) {
| ~^~~~~~~~~~~~~~
main.cpp: In member function 'void Solutie::trilant()':
main.cpp:396:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
396 | for (int i = 0; i < drumA.size(); i++)
| ~~^~~~~~~~~~~~~~
main.cpp:400:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
400 | for (int i = 0; i < drumB.size(); i++)
| ~~^~~~~~~~~~~~~~
main.cpp:404:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
404 | for (int i = 0; i < drumC.size(); i++)
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'void Solutie::dragoni()':
main.cpp:513:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
513 | for (int i=0; i<adj[nod].size(); i++) {
| ~^~~~~~~~~~~~~~~~
main.cpp:545:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
545 | for (int i=0; i<adj[nod].size(); i++) {
| ~^~~~~~~~~~~~~~~~
main.cpp: In instantiation of 'std::vector<std::pair<T, int> > Graf<T>::dijkstra_cost_path(int) [with T = long long int]':
main.cpp:364:77: required from here
main.cpp:90:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
90 | for (int i = 0; i < adj[nod].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void Solutie::trilant()':
main.cpp:382:34: warning: 'nod' may be used uninitialized [-Wmaybe-uninitialized]
382 | nodA = distanteA[nodA].second;
| ^
main.cpp:369:13: note: 'nod' was declared here
369 | int nod;
| ^~~
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 | 4ms | 2392kb | Corect | 5 |
4 | 1ms | 557kb | Corect | 5 | 10 |
14 | 2ms | 1085kb | Corect | 5 |
5 | 1ms | 1081kb | Corect | 5 | 10 |
15 | 2ms | 1343kb | Corect | 5 |
6 | 178ms | 38182kb | Corect | 5 | 10 |
16 | 0ms | 303kb | Corect | 5 |
7 | 143ms | 32964kb | Corect | 5 | 10 |
17 | 0ms | 303kb | Corect | 5 |
8 | 128ms | 31367kb | Corect | 5 | 10 |
18 | 63ms | 22495kb | Corect | 5 |
9 | 187ms | 36638kb | Corect | 5 | 10 |
19 | 64ms | 20844kb | Corect | 5 |
10 | 202ms | 38715kb | Corect | 5 | 10 |
20 | 64ms | 21422kb | Corect | 5 |
Punctaj total | 100 |