Pagini recente » Borderou de evaluare (job #2472145) | Borderou de evaluare (job #162968) | Borderou de evaluare (job #2653944) | Borderou de evaluare (job #325772) | Borderou de evaluare (job #2401581)
Borderou de evaluare (job #2401581)
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 | 7ms | 2621kb | OK | 10 | 10 |
| 2 | 8ms | 2621kb | OK | 10 | 10 |
| 3 | 25ms | 3801kb | OK | 10 | 10 |
| 4 | 190ms | 10092kb | OK | 10 | 10 |
| 5 | 224ms | 14942kb | OK | 10 | 10 |
| 6 | 285ms | 15073kb | OK | 10 | 10 |
| 7 | 602ms | 22413kb | OK | 10 | 10 |
| 8 | 1511ms | 17563kb | OK | 10 | 30 |
| 9 | 1938ms | 18481kb | OK | 10 |
| 10 | 1769ms | 19005kb | OK | 10 |
| Punctaj total | 100 |