Borderou de evaluare (job #627176)

Utilizator avatar MihaiBratu Mihai-Alexandru Bratu MihaiBratu IP ascuns
Problemă Cotoroanța Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 23 ian. 2022 13:33:05 Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:68:13: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | freopen ("cotoroanta.in", "r", stdin); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:69:13: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | freopen ("cotoroanta.out","w",stdout); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:70:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | scanf("%d%d%d", &n, &m, &k); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:72:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | scanf("%d%d%d", &v[i].x, &v[i].y, &v[i].c); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:83:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 83 | scanf("%d", &x); | ~~~~~^~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 22 ms 380 kb OK 10
3 156 ms 1560 kb OK 10
4 59 ms 245 kb OK 10
5 178 ms 245 kb OK 10
6 349 ms 905 kb OK 10
7 434 ms 1167 kb OK 10
8 508 ms 1425 kb Time limit exceeded 0
9 506 ms 1421 kb Time limit exceeded 0
10 501 ms 1425 kb Time limit exceeded 0
Punctaj total 70