Borderou de evaluare (job #2681738)

Utilizator giotoPopescu Ioan gioto Data 6 decembrie 2020 15:49:36
Problema Arboras Status done
Runda Arhiva de probleme Compilator cpp-32 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:448:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("arboras.out", "w", stdout); ^ main.cpp:450:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp: In member function 'char InParser::read_ch()': main.cpp:14:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(buff, 1, 4096, fin); ^ main.cpp: In function 'void dfs(int)': main.cpp:97:3: warning: 'mx' may be used uninitialized in this function [-Wmaybe-uninitialized] if (sz[it.x] > mx) mx = sz[it.x], heavy[nod] = it.x; ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
19ms3801kbKilled by Signal 1100
29ms3801kbKilled by Signal 110
39ms3801kbKilled by Signal 110
49ms3801kbKilled by Signal 1100
59ms3801kbKilled by Signal 110
69ms3801kbKilled by Signal 110
78ms3801kbKilled by Signal 1100
89ms3801kbKilled by Signal 110
99ms3801kbKilled by Signal 110
109ms3801kbKilled by Signal 1100
119ms3801kbKilled by Signal 110
129ms3801kbKilled by Signal 110
138ms3801kbKilled by Signal 110
148ms3801kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?