Borderou de evaluare (job #585395)

Utilizator avatar cyg_bserban Bantas Nyesul Batran cyg_bserban IP ascuns
Problemă Ruine Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 10 mar. 2021 18:15:32 Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] 11 | freopen("ruine.in","r",stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:12:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] 12 | freopen("ruine.out","w",stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:14:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 14 | scanf("%d%d",&n,&q); | ~~~~~^~~~~~~~~~~~~~ main.cpp:17:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 17 | scanf("%d",&x); | ~~~~~^~~~~~~~~ main.cpp:24:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 24 | scanf("\n%c %d",&ch,&x); | ~~~~~^~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb OK 10
2 1 ms 262 kb OK 10
3 7 ms 393 kb OK 10
4 25 ms 520 kb OK 10
5 206 ms 1441 kb Time limit exceeded 0
6 205 ms 1572 kb Time limit exceeded 0
7 207 ms 2097 kb Time limit exceeded 0
8 209 ms 2490 kb Time limit exceeded 0
9 204 ms 3665 kb Time limit exceeded 0
10 204 ms 3665 kb Time limit exceeded 0
Punctaj total 40