Pagini recente » Borderou de evaluare (job #1677680) | Borderou de evaluare (job #2918683) | Borderou de evaluare (job #992812) | Borderou de evaluare (job #2541151) | Borderou de evaluare (job #3178355)
Borderou de evaluare (job #3178355)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra(int, std::vector<int>&, std::vector<long long int>&)':
main.cpp:27:19: warning: unused variable 'distanta_curenta' [-Wunused-variable]
27 | long long distanta_curenta = pq.top().first;
| ^~~~~~~~~~~~~~~~
main.cpp: In function 'void getPaths(std::vector<int>, long long int)':
main.cpp:54:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | for (long long i=0; i<path.size(); i++) {
| ~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:89:13: warning: 'nod_interes' may be used uninitialized [-Wmaybe-uninitialized]
89 | getPaths(tatiC, nod_interes);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
main.cpp:77:46: note: 'nod_interes' was declared here
77 | long long distanta_minima = LLONG_MAXIM, nod_interes;
| ^~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | Cost prea mare | 0 | 0 |
11 | 0ms | 303kb | Cost prea mare | 0 |
2 | 0ms | 303kb | Cost prea mare | 0 | 0 |
12 | 0ms | 303kb | Cost prea mare | 0 |
3 | 1ms | 303kb | Cost prea mare | 0 | 0 |
13 | 6ms | 819kb | Cost prea mare | 0 |
4 | 1ms | 303kb | Cost prea mare | 0 | 0 |
14 | 2ms | 557kb | Cost prea mare | 0 |
5 | 2ms | 557kb | Cost prea mare | 0 | 0 |
15 | 3ms | 557kb | Cost prea mare | 0 |
6 | 158ms | 15552kb | Cost prea mare | 0 | 0 |
16 | 0ms | 303kb | Corect | 5 |
7 | 133ms | 14336kb | Cost prea mare | 0 | 0 |
17 | 0ms | 303kb | Corect | 5 |
8 | 118ms | 13524kb | Cost prea mare | 0 | 0 |
18 | 54ms | 10584kb | Cost prea mare | 0 |
9 | 148ms | 15204kb | Cost prea mare | 0 | 0 |
19 | 44ms | 10174kb | Cost prea mare | 0 |
10 | 171ms | 15659kb | Cost prea mare | 0 | 0 |
20 | 49ms | 10498kb | Cost prea mare | 0 |
Punctaj total | 0 |