Borderou de evaluare (job #3178027)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra(int, int, std::vector<int>&, std::vector<long long int>&, std::vector<std::vector<std::pair<int, long long int> > >&)':
main.cpp:30:30: 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]
30 | for(int i = 0; i < muchii[x].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'void drum(int, int, std::vector<int>&, std::ofstream&)':
main.cpp:54:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | for(int i = 0; i < drum.size(); i++)
| ~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:95:9: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized]
95 | drum(c, x, tataC, g);
| ~~~~^~~~~~~~~~~~~~~~
main.cpp:81:9: note: 'x' was declared here
81 | int x;
| ^
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 | 1343kb | Corect | 5 |
4 | 1ms | 557kb | Corect | 5 | 10 |
14 | 2ms | 819kb | Corect | 5 |
5 | 1ms | 561kb | Corect | 5 | 10 |
15 | 2ms | 819kb | Corect | 5 |
6 | 127ms | 20185kb | Corect | 5 | 10 |
16 | 0ms | 303kb | Corect | 5 |
7 | 97ms | 17334kb | Corect | 5 | 10 |
17 | 0ms | 303kb | Corect | 5 |
8 | 93ms | 16015kb | Corect | 5 | 0 |
18 | 24ms | 8118kb | Nodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie | 0 |
9 | 118ms | 19169kb | Corect | 5 | 0 |
19 | 24ms | 10997kb | Nodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie | 0 |
10 | 123ms | 20529kb | Corect | 5 | 0 |
20 | 24ms | 11149kb | Nodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie | 0 |
Punctaj total | 70 |