Pagini recente » Borderou de evaluare (job #1314248) | Borderou de evaluare (job #2337214) | Borderou de evaluare (job #1957438) | Borderou de evaluare (job #2208704) | Borderou de evaluare (job #1838419)
Borderou de evaluare (job #1838419)
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 [100005]’ 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 [100005]’ 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 |
1 | 0ms | 1652kb | OK | 10 | 10 |
2 | 0ms | 1736kb | OK | 10 | 10 |
3 | 12ms | 2508kb | OK | 10 | 10 |
4 | 176ms | 5524kb | OK | 10 | 10 |
5 | 176ms | 6836kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 224ms | 7280kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 20ms | 3776kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 24ms | 4076kb | Killed by signal 6(SIGABRT). | 0 |
9 | 24ms | 8444kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 20ms | 4132kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 40 |