Borderou de evaluare (job #635640)

Utilizator avatar wildcola Stefan Placintescu wildcola IP ascuns
Problemă Rucsac fractionar Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 25 feb. 2022 18:50:17 Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:7:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 7 | freopen("rucsacfr.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:10:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | scanf("%d %f", &n, &k); | ~~~~~^~~~~~~~~~~~~~~~~ main.cpp:15:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | scanf("%f %f", &g, &p); | ~~~~~^~~~~~~~~~~~~~~~~ main.cpp:43:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 43 | freopen("rucsacfr.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test Punctaj/grupă
1 2 ms 114 kb OK 10 10
2 1 ms 114 kb OK 10 10
3 1 ms 114 kb OK 10 10
4 1 ms 114 kb OK 10 10
5 1 ms 118 kb OK 10 10
6 1 ms 118 kb OK 10 0
7 2 ms 118 kb OK 10
8 107 ms 118 kb Time limit exceeded 0
9 107 ms 249 kb Time limit exceeded 0 0
10 106 ms 245 kb Time limit exceeded 0
Punctaj total 50