Pagini recente » Borderou de evaluare (job #1272269) | Borderou de evaluare (job #1271579) | Borderou de evaluare (job #3000368) | Borderou de evaluare (job #60576) | Borderou de evaluare (job #3142390)
Borderou de evaluare (job #3142390)
Raport evaluator
Compilare:
main.cpp: In function 'int get_lca(int, int)':
main.cpp:53:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
53 | if (depth[v] < depth[u])
| ^~
main.cpp:56:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
56 | while(depth[v] != depth[u])
| ^~~~~
main.cpp:52:9: warning: unused variable 'nec' [-Wunused-variable]
52 | int nec = 0;
| ^~~
main.cpp: In function 'int query_sum(int)':
main.cpp:92:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
92 | for (; pos > 0; pos -= (pos & -pos))
| ^~~
main.cpp:94:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
94 | return sum;
| ^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 10 |
2 | 4ms | 557kb | OK | 10 |
3 | 397ms | 2420kb | OK | 10 |
4 | 407ms | 2830kb | OK | 10 |
5 | 446ms | 8179kb | OK | 10 |
6 | 277ms | 8425kb | OK | 10 |
7 | 297ms | 9416kb | OK | 10 |
8 | 456ms | 10608kb | OK | 10 |
9 | 460ms | 10575kb | OK | 10 |
10 | 465ms | 10780kb | OK | 10 |
Punctaj total | 100 |