Borderou de evaluare (job #639375)

Utilizator avatar lucam Luca Mazilescu lucam IP ascuns
Problemă Ruine Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 8 mar. 2022 19:40:40 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:35:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 35 | scanf("%d %d", &n, &m); | ~~~~~^~~~~~~~~~~~~~~~~ main.cpp:39:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 39 | scanf("%d", sp + i); | ~~~~~^~~~~~~~~~~~~~ main.cpp:45:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 45 | 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 15 ms 225 kb OK 10
5 204 ms 385 kb Time limit exceeded 0
6 207 ms 466 kb Time limit exceeded 0
7 206 ms 622 kb Time limit exceeded 0
8 203 ms 888 kb Time limit exceeded 0
9 209 ms 901 kb Time limit exceeded 0
10 200 ms 901 kb Time limit exceeded 0
Punctaj total 40