Pagini recente » Borderou de evaluare (job #1252034) | Borderou de evaluare (job #1423942) | Borderou de evaluare (job #2121530) | Borderou de evaluare (job #2135177) | Borderou de evaluare (job #2276401)
Borderou de evaluare (job #2276401)
Raport evaluator
Compilare:
main.cpp: In function 'void DFS(int, int, int&, std::vector<bool>&, std::vector<int>&)':
main.cpp:20:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (auto i = 0; i < A[nod].size(); i++)
~~^~~~~~~~~~~~~~~
main.cpp: In function 'void Dijkstra(int, int, std::vector<int>&, std::vector<std::vector<int> >&, std::queue<std::pair<int, int> >&)':
main.cpp:33:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (auto i = 0; i < A[nod].size(); i++)
~~^~~~~~~~~~~~~~~
main.cpp:46:13: warning: unused variable 'x' [-Wunused-variable]
int x = distMax[cntDragon];
^
main.cpp:47:13: warning: unused variable 'k' [-Wunused-variable]
int k = dp[nod_curent][dragon_curent];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect! | 2 |
2 | 2ms | 131kb | Corect! | 2 |
3 | 3ms | 262kb | Corect! | 2 |
4 | 3ms | 393kb | Corect! | 2 |
5 | 5ms | 786kb | Corect! | 2 |
6 | 11ms | 2490kb | Corect! | 2 |
7 | 15ms | 2883kb | Corect! | 2 |
8 | 16ms | 2883kb | Corect! | 2 |
9 | 17ms | 2883kb | Corect! | 2 |
10 | 17ms | 2883kb | Corect! | 2 |
11 | 2ms | 131kb | Corect! | 8 |
12 | 2ms | 131kb | Corect! | 8 |
13 | 4ms | 262kb | Corect! | 8 |
14 | 6ms | 393kb | Corect! | 8 |
15 | 16ms | 917kb | Corect! | 8 |
16 | 47ms | 2621kb | Corect! | 8 |
17 | 116ms | 3407kb | Corect! | 8 |
18 | 122ms | 3407kb | Corect! | 8 |
19 | 147ms | 3407kb | Corect! | 8 |
20 | 151ms | 3538kb | Corect! | 8 |
Punctaj total | 100 |