Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2500599)
| Utilizator | Data | 28 noiembrie 2019 12:37:09 | |
|---|---|---|---|
| Problema | Lowest Common Ancestor | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 10 | ||
Raport evaluator
Compilare:
main.cpp: In function 'void recursiveDfs(int&, int&, std::vector<int>&, std::vector<int>&, int*, std::vector<std::vector<int> >&, int&)':
main.cpp:19:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < graph[node].size(); ++i) {
~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'std::vector<int> lca(std::vector<std::vector<int> >&, std::vector<std::pair<int, int> >&)':
main.cpp:142:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < queries.size(); ++i) {
~~^~~~~~~~~~~~~~~~
main.cpp:147:13: warning: overflow in implicit constant conversion [-Woverflow]
int sol = 2e10;
^~~~
main.cpp:148:14: warning: overflow in implicit constant conversion [-Woverflow]
int solH = 2e10;
^~~~
main.cpp:128:29: warning: unused variable 'rmq' [-Wunused-variable]
int node = 1, level = 0, **rmq, *lg;
^~~
main.cpp:128:35: warning: unused variable 'lg' [-Wunused-variable]
int node = 1, level = 0, **rmq, *lg;
^~
main.cpp: In function 'int main()':
main.cpp:204:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < ans.size(); ++i) {
~~^~~~~~~~~~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 2ms | 131kb | Incorect | 0 | 0 |
| 2 | 4ms | 262kb | Incorect | 0 | 0 |
| 3 | 43ms | 1470kb | Incorect | 0 | 0 |
| 4 | 278ms | 8380kb | Incorect | 0 | 0 |
| 5 | 400ms | 11980kb | Incorect | 0 | 0 |
| 6 | 572ms | 14012kb | Incorect | 0 | 0 |
| 7 | 1850ms | 40087kb | OK | 10 | 10 |
| 8 | 2800ms | 36159kb | Time limit exceeded | 0 | 0 |
| 9 | 2802ms | 38510kb | Time limit exceeded | 0 | |
| 10 | 2800ms | 39690kb | Time limit exceeded | 0 | |
| Punctaj total | 10 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
