Borderou de evaluare (job #791795)

Utilizator avatar ucenic_info Vladimirescu Tudor ucenic_info IP ascuns
Problemă Hot Dogs (clasele 9-10) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 29 oct. 2024 18:55:55 Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:19:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | freopen("hotdogs.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:20:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | freopen("hotdogs.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:22:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | scanf("%d%d", &n, &z); | ~~~~~^~~~~~~~~~~~~~~~ main.cpp:26:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | scanf("%d%d", &k, &val); | ~~~~~^~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 9 ms 229 kb OK 10
4 39 ms 1175 kb OK 10
5 99 ms 1802 kb OK 10
6 169 ms 2912 kb OK 10
7 199 ms 3354 kb OK 10
8 209 ms 3313 kb Time limit exceeded 0
9 199 ms 4153 kb OK 10
10 209 ms 4120 kb Time limit exceeded 0
Punctaj total 80