Borderou de evaluare (job #585397)

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:19:24 Scor 30

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 Incorect 0
2 1 ms 389 kb Incorect 0
3 1 ms 262 kb OK 10
4 1 ms 389 kb Incorect 0
5 80 ms 1691 kb Incorect 0
6 71 ms 1826 kb OK 10
7 97 ms 2482 kb Incorect 0
8 118 ms 3002 kb OK 10
9 203 ms 4444 kb Time limit exceeded 0
10 196 ms 4440 kb Incorect 0
Punctaj total 30