Borderou de evaluare (job #3170390)
Raport evaluator
Compilare:
main.cpp: In function 'std::vector<std::pair<long long int, int> > dijkstra(std::vector<std::vector<std::pair<int, int> > >&, int)':
main.cpp:23:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(int i=0;i<graf[n].size();i++){
| ~^~~~~~~~~~~~~~~
main.cpp: In function 'void reconstruim_lant(std::vector<std::pair<long long int, int> >&, int)':
main.cpp:43:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for(int i=0;i<lant.size();i++){
| ~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:5:45: warning: overflow in conversion from 'double' to 'long long int' changes value from '+Inf' to '9223372036854775807' [-Woverflow]
5 | #define INF numeric_limits<double>::infinity()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
main.cpp:77:19: note: in expansion of macro 'INF'
77 | long long sum=INF,X=-1;
| ^~~
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 | 303kb | Corect | 5 | 10 |
13 | 8ms | 819kb | Corect | 5 |
4 | 1ms | 303kb | Corect | 5 | 10 |
14 | 3ms | 557kb | Corect | 5 |
5 | 2ms | 557kb | Corect | 5 | 10 |
15 | 4ms | 557kb | Corect | 5 |
6 | 217ms | 16068kb | Corect | 5 | 10 |
16 | 0ms | 303kb | Corect | 5 |
7 | 177ms | 14577kb | Corect | 5 | 10 |
17 | 0ms | 303kb | Corect | 5 |
8 | 148ms | 13930kb | Corect | 5 | 0 |
18 | 133ms | 65671kb | Memory limit exceeded | 0 |
9 | 198ms | 15527kb | Corect | 5 | 0 |
19 | 125ms | 66932kb | Memory limit exceeded | 0 |
10 | 217ms | 16297kb | Corect | 5 | 0 |
20 | 125ms | 66846kb | Memory limit exceeded | 0 |
Punctaj total | 70 |