Pagini recente » Borderou de evaluare (job #2538554) | Borderou de evaluare (job #926303) | Borderou de evaluare (job #2241725) | Borderou de evaluare (job #1963051) | Borderou de evaluare (job #3183195)
Borderou de evaluare (job #3183195)
Raport evaluator
Compilare:
main.cpp: In function 'int cerinta1(int)':
main.cpp:32:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for(int i = 0; i < m[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
main.cpp:35:21: warning: unused variable 'dv' [-Wunused-variable]
35 | int dv = dist[vecin], dnc = dist[nod];
| ^~
main.cpp:35:39: warning: unused variable 'dnc' [-Wunused-variable]
35 | int dv = dist[vecin], dnc = dist[nod];
| ^~~
main.cpp: In function 'int dijsktra(int)':
main.cpp:73:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
73 | for(int i = 0; i < m[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
main.cpp:69:13: warning: unused variable 'cost' [-Wunused-variable]
69 | int cost = aux.first, nod = aux.second.first, dragon = aux.second.second;
| ^~~~
main.cpp: In function 'int main()':
main.cpp:96:32: warning: unused variable 'nod_curent' [-Wunused-variable]
96 | int cerinta, muc, a, b, c, nod_curent, dragon, i, j, rez = 1e9;
| ^~~~~~~~~~
main.cpp:96:44: warning: unused variable 'dragon' [-Wunused-variable]
96 | int cerinta, muc, a, b, c, nod_curent, dragon, i, j, rez = 1e9;
| ^~~~~~
main.cpp:96:55: warning: unused variable 'j' [-Wunused-variable]
96 | int cerinta, muc, a, b, c, nod_curent, dragon, i, j, rez = 1e9;
| ^
main.cpp:96:58: warning: unused variable 'rez' [-Wunused-variable]
96 | int cerinta, muc, a, b, c, nod_curent, dragon, i, j, rez = 1e9;
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Corect! | 2 |
2 | 0ms | 303kb | Corect! | 2 |
3 | 0ms | 303kb | Corect! | 2 |
4 | 0ms | 303kb | Corect! | 2 |
5 | 0ms | 303kb | Corect! | 2 |
6 | 0ms | 303kb | Corect! | 2 |
7 | 1ms | 557kb | Corect! | 2 |
8 | 1ms | 557kb | Corect! | 2 |
9 | 1ms | 557kb | Corect! | 2 |
10 | 1ms | 557kb | Corect! | 2 |
11 | 0ms | 303kb | Corect! | 8 |
12 | 0ms | 557kb | Corect! | 8 |
13 | 1ms | 1081kb | Corect! | 8 |
14 | 3ms | 1605kb | Corect! | 8 |
15 | 9ms | 3178kb | Corect! | 8 |
16 | 39ms | 5779kb | Corect! | 8 |
17 | 89ms | 7372kb | Corect! | 8 |
18 | 94ms | 7434kb | Corect! | 8 |
19 | 104ms | 8806kb | Corect! | 8 |
20 | 104ms | 9019kb | Corect! | 8 |
Punctaj total | 100 |