Pagini recente » Borderou de evaluare (job #60647) | Borderou de evaluare (job #737316) | Borderou de evaluare (job #3032549) | Borderou de evaluare (job #1673666) | Borderou de evaluare (job #3142386)
Borderou de evaluare (job #3142386)
Raport evaluator
Compilare:
main.cpp: In function 'int get_lca(int, int)':
main.cpp:44:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
44 | if (depth[v] < depth[u])
| ^~
main.cpp:47:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
47 | int diff = depth[v] - depth[u];
| ^~~
main.cpp: In function 'int query_sum(int)':
main.cpp:76:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
76 | for (; pos > 0; pos -= (pos & -pos))
| ^~~
main.cpp:78:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
78 | return sum;
| ^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 557kb | OK | 10 |
2 | 5ms | 557kb | OK | 10 |
3 | 417ms | 2904kb | OK | 10 |
4 | 426ms | 3698kb | OK | 10 |
5 | 495ms | 13979kb | OK | 10 |
6 | 316ms | 14970kb | OK | 10 |
7 | 346ms | 16363kb | OK | 10 |
8 | 524ms | 18202kb | OK | 10 |
9 | 534ms | 18194kb | OK | 10 |
10 | 554ms | 18382kb | OK | 10 |
Punctaj total | 100 |