Borderou de evaluare (job #2566047)

Utilizator 1chiriacOctavian Neculau 1chiriac Data 2 martie 2020 18:32:46
Problema Lowest Common Ancestor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:42:29: 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:43: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); ^ main.cpp:44:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m);++m; ^ main.cpp:46:91: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nr),tata[i]=nr,arb[(i)].push_back(nr),arb[nr].push_back(i),l[i]=l[(i>>1)]+1; ^ main.cpp:49:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &nod1, &nod2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
23ms262kbOK1010
33ms131kbKilled by Signal 1100
43ms131kbKilled by Signal 1100
53ms131kbKilled by Signal 1100
63ms131kbKilled by Signal 1100
73ms131kbKilled by Signal 1100
83ms131kbKilled by Signal 1100
93ms131kbKilled by Signal 110
102ms131kbKilled by Signal 110
Punctaj total20

Ceva nu functioneaza?