Borderou de evaluare (job #1838438)

Utilizator oldatlantianSerban Cercelescu oldatlantian Data 1 ianuarie 2017 00:13:21
Problema Arb Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:92:31: warning: capture of variable ‘lvl’ with non-automatic storage duration [enabled by default] sort(qs + 1, qs + 1 + q, [lvl](const Q &a, const Q &b) { return (lvl[a.u] + a.h) < (lvl[b.u] + b.h); }); ^ user.cpp:15:47: note: ‘int lvl [250005]’ declared here int st[NMAX], dr[NMAX], aib[NMAX], ant[QMAX], lvl[NMAX], nbh[NMAX], val[NMAX]; ^ user.cpp:93:33: warning: capture of variable ‘lvl’ with non-automatic storage duration [enabled by default] sort(nbh + 1, nbh + 1 + n, [lvl](const int &a, const int &b) { return lvl[a] < lvl[b]; }); ^ user.cpp:15:47: note: ‘int lvl [250005]’ declared here int st[NMAX], dr[NMAX], aib[NMAX], ant[QMAX], lvl[NMAX], nbh[NMAX], val[NMAX]; ^ user.cpp: In function ‘char nextch()’: user.cpp:21:39: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(in_buff, 1, BMAX, stdin); ^ user.cpp: In function ‘int main()’: user.cpp:77:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arb.in", "r", stdin); ^ user.cpp:78:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arb.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms3392kbOK1010
24ms3484kbOK1010
312ms4364kbOK1010
4168ms7388kbOK1010
5160ms9656kbOK1010
6316ms10408kbOK100
71336ms17968kbOK10
81652ms18732kbOK10
91308ms14592kbOK10
10Depăşit21284kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?