Borderou de evaluare (job #2599269)

Utilizator MoodyFaresFares Mohamad MoodyFares Data 11 aprilie 2020 14:21:57
Problema Foametea Status done
Runda Fmi No Stress 9 Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:75:44: warning: narrowing conversion of '(((long long int)time) + ((1ll * ((long long int)l)) * (((1ll * ((long long int)(food - c))) * ((long long int)(food - c))) + 1ll)))' from 'long long int' to 'int' inside { } [-Wnarrowing] pq.push({u, food - c + i, time + 1LL * l * (1LL * (food - c) * (food - c) + 1LL)}); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:32:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("foametea.in", "r", stdin); ^ main.cpp:33:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("foametea.out", "w", stdout); ^ main.cpp:36:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &m, &k); ^ main.cpp:38:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^ main.cpp:41:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &u, &v, &l, &c); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
118ms1175kbOK1020
2228ms6930kbOK10
33ms262kbOK1020
434ms1437kbOK10
511ms655kbOK100
639ms1835kbOK10
7403ms14397kbTime limit exceeded0
8400ms14397kbTime limit exceeded00
9402ms26976kbTime limit exceeded0
10401ms26976kbTime limit exceeded0
Punctaj total40

Ceva nu functioneaza?