Pagini recente » Borderou de evaluare (job #3265570) | Borderou de evaluare (job #400518) | Borderou de evaluare (job #2756292) | Borderou de evaluare (job #30331) | Borderou de evaluare (job #2977292)
Borderou de evaluare (job #2977292)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:15:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(int i=0;i<v[nod].size();i++)
| ~^~~~~~~~~~~~~~
main.cpp: In function 'int lca(int, int)':
main.cpp:30:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
30 | if(is_ancestor(x,y));
| ^~
main.cpp:31:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
31 | return x;
| ^~~~~~
main.cpp:32:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
32 | if(is_ancestor(y,x));
| ^~
main.cpp:33:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
33 | return y;
| ^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 184kb | Incorect | 0 | 0 |
2 | 0ms | 184kb | Incorect | 0 | 0 |
3 | 5ms | 3723kb | Incorect | 0 | 0 |
4 | 83ms | 9560kb | Incorect | 0 | 0 |
5 | 120ms | 13660kb | Incorect | 0 | 0 |
6 | 150ms | 14315kb | Incorect | 0 | 0 |
7 | 306ms | 24317kb | Incorect | 0 | 0 |
8 | 496ms | 21524kb | Incorect | 0 | 0 |
9 | 614ms | 24014kb | Incorect | 0 |
10 | 670ms | 25190kb | Incorect | 0 |
Punctaj total | 0 |