Borderou de evaluare (job #639376)

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

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:32:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | freopen("ruine.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:33:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | freopen("ruine.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:36:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 36 | scanf("%d %d", &n, &m); | ~~~~~^~~~~~~~~~~~~~~~~ main.cpp:40:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 40 | scanf("%d", p); | ~~~~~^~~~~~~~~ main.cpp:46:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 46 | scanf("\n%c %d", &q, &arg); | ~~~~~^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 110 kb OK 10
3 1 ms 118 kb OK 10
4 16 ms 360 kb OK 10
5 207 ms 385 kb Time limit exceeded 0
6 208 ms 466 kb Time limit exceeded 0
7 207 ms 618 kb Time limit exceeded 0
8 203 ms 761 kb Time limit exceeded 0
9 202 ms 892 kb Time limit exceeded 0
10 203 ms 888 kb Time limit exceeded 0
Punctaj total 40