Borderou de evaluare (job #639382)

Utilizator avatar lucam Luca Mazilescu lucam IP ascuns
Problemă Ruine Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 8 mar. 2022 19:59:29 Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:30:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 30 | freopen("ruine.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:31:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | freopen("ruine.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:33:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | scanf("%d%d", &n, &m); | ~~~~~^~~~~~~~~~~~~~~~ main.cpp:37:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 37 | scanf("%d", p); | ~~~~~^~~~~~~~~ main.cpp:43:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 43 | scanf("\n%c%d", &q, &arg); | ~~~~~^~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 2 ms 114 kb OK 10
3 1 ms 118 kb OK 10
4 8 ms 233 kb OK 10
5 73 ms 389 kb OK 10
6 209 ms 417 kb Time limit exceeded 0
7 200 ms 585 kb Time limit exceeded 0
8 208 ms 753 kb Time limit exceeded 0
9 206 ms 1011 kb Time limit exceeded 0
10 204 ms 1347 kb Time limit exceeded 0
Punctaj total 50