Borderou de evaluare (job #1838420)

Utilizator oldatlantianSerban Cercelescu oldatlantian Data 31 decembrie 2016 23:39:11
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:73: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:14:47: note: ‘int lvl [250005]’ declared here int st[NMAX], dr[NMAX], aib[NMAX], ant[NMAX], lvl[NMAX], nbh[NMAX], val[NMAX]; ^ user.cpp:74: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:14:47: note: ‘int lvl [250005]’ declared here int st[NMAX], dr[NMAX], aib[NMAX], ant[NMAX], lvl[NMAX], nbh[NMAX], val[NMAX]; ^ user.cpp: In function ‘char nextch()’: user.cpp:20: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:58: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:59: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
14ms3408kbOK1010
24ms3500kbOK1010
316ms4272kbOK1010
4164ms7288kbOK1010
5172ms9556kbOK1010
6280ms10308kbOK100
71236ms15820kbKilled by signal 11(SIGSEGV).0
81320ms16268kbKilled by signal 11(SIGSEGV).0
91316ms14320kbOK10
10488ms18440kbKilled by signal 11(SIGSEGV).0
Punctaj total50

Ceva nu functioneaza?