Borderou de evaluare (job #639377)

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

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:29:22: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | (void)freopen("ruine.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:30:22: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 30 | (void)freopen("ruine.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:33:20: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | (void)scanf("%d %d", &n, &m); | ~~~~~^~~~~~~~~~~~~~~~~ main.cpp:37:28: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 37 | (void)scanf("%d", p); | ~~~~~^~~~~~~~~ main.cpp:43:28: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 43 | (void)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 114 kb OK 10
3 1 ms 118 kb OK 10
4 18 ms 229 kb OK 10
5 204 ms 372 kb Time limit exceeded 0
6 208 ms 471 kb Time limit exceeded 0
7 207 ms 614 kb Time limit exceeded 0
8 209 ms 761 kb Time limit exceeded 0
9 209 ms 897 kb Time limit exceeded 0
10 202 ms 892 kb Time limit exceeded 0
Punctaj total 40