Borderou de evaluare (job #585386)

Utilizator avatar ioana.jianu Jianu Ioana ioana.jianu IP ascuns
Problemă Flota Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 10 mar. 2021 17:49:53 Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:43:13: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] 43 | freopen ("flota.in", "r", stdin); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:44:13: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] 44 | freopen ("flota.out", "w", stdout); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:48:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 48 | scanf ("%d%d%d", &n, &m, &k); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:51:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 51 | scanf ("%hu%hu%hu", &muchii[i].n1, &muchii[i].n2, &muchii[i].c); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:57:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 57 | scanf ("%d", &latimi[i].l); | ~~~~~~^~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb OK 10
2 13 ms 389 kb OK 10
3 1 ms 262 kb OK 10
4 508 ms 3010 kb OK 10
5 129 ms 913 kb OK 10
6 403 ms 2228 kb OK 10
7 705 ms 3665 kb OK 10
8 1251 ms 6029 kb OK 10
9 1448 ms 7598 kb OK 10
10 1502 ms 7733 kb Time limit exceeded 0
Punctaj total 90