Borderou de evaluare (job #2599517)

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

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:74:48: 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 + j, 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
14ms393kbOK1020
229ms1437kbOK10
33ms262kbOK1020
412ms655kbOK10
510ms655kbOK1030
639ms1835kbOK10
7139ms3399kbOK10
8112ms3399kbIncorect00
9162ms3399kbOK10
10172ms3399kbOK10
Punctaj total70

Ceva nu functioneaza?