Borderou de evaluare (job #2681724)

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

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:394:48: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] for (int i = 1; i < n ; ++i) scanf("%d", &l[i]); ^ main.cpp:391:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:393:50: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for (int i = 1; i < n ; ++i) scanf("%d", &tt[i]); ^ main.cpp:394:49: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for (int i = 1; i < n ; ++i) scanf("%d", &l[i]); ^ main.cpp:404:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q); ^ main.cpp:406:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^ main.cpp: In function 'void dfs(int)': main.cpp:41: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
13502ms7340kbTime limit exceeded00
23501ms7340kbTime limit exceeded0
33501ms7340kbTime limit exceeded0
43503ms7340kbTime limit exceeded00
53500ms7340kbTime limit exceeded0
63503ms7340kbTime limit exceeded0
73503ms7340kbTime limit exceeded00
83503ms7340kbTime limit exceeded0
93500ms7340kbTime limit exceeded0
103503ms7340kbTime limit exceeded00
113501ms7340kbTime limit exceeded0
123500ms7340kbTime limit exceeded0
133502ms7340kbTime limit exceeded0
143503ms7340kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?