Borderou de evaluare (job #1838426)

Utilizator oldatlantianSerban Cercelescu oldatlantian Data 31 decembrie 2016 23:51:23
Problema Arb Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:74: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:75: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:36: 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, BMAX, stdin); ^ user.cpp: In function ‘int main()’: user.cpp:59:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("7-arb.in", "r", stdin); ^ user.cpp:60: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
1Depăşit3300kbTime limit exceeded.00
2Depăşit3300kbTime limit exceeded.00
3Depăşit3296kbTime limit exceeded.00
4Depăşit3300kbTime limit exceeded.00
5Depăşit3296kbTime limit exceeded.00
6Depăşit3304kbTime limit exceeded.00
7Depăşit3304kbTime limit exceeded.0
8Depăşit3300kbTime limit exceeded.0
9Depăşit3300kbTime limit exceeded.0
10Depăşit3300kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?