Pagini recente » Borderou de evaluare (job #1343668) | Borderou de evaluare (job #213712) | Borderou de evaluare (job #145439) | Borderou de evaluare (job #648506) | Borderou de evaluare (job #2401650)
Borderou de evaluare (job #2401650)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:25:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<a[x].size();i++)if(a[x][i]!=p)dfs(a[x][i],x);
~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:41:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.in","r",stdin);
^
main.cpp:42:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 8ms | 2621kb | OK | 10 | 10 |
2 | 9ms | 2621kb | OK | 10 | 10 |
3 | 25ms | 3801kb | OK | 10 | 10 |
4 | 187ms | 10092kb | OK | 10 | 10 |
5 | 219ms | 14811kb | OK | 10 | 10 |
6 | 317ms | 15073kb | OK | 10 | 10 |
7 | 727ms | 22413kb | OK | 10 | 10 |
8 | 1262ms | 17563kb | OK | 10 | 30 |
9 | 1899ms | 18481kb | OK | 10 |
10 | 2094ms | 18948kb | OK | 10 |
Punctaj total | 100 |