Borderou de evaluare (job #2269583)

Utilizator RazvipripPrip Razvi Razviprip Data 26 octombrie 2018 11:07:41
Problema 2sah Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 16

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:10:28: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%d%d%d",&t,&n,&k); ^ main.cpp:10:28: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] main.cpp:10:28: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=] main.cpp:19:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%d",s); ^ main.cpp:41:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%d",c); ^ main.cpp:8:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("2sah.in","r",stdin); ^ main.cpp:9:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("2sah.out","w",stdout); ^ main.cpp:10:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&t,&n,&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbCorect!2
22ms131kbCorect!2
32ms131kbCorect!2
42ms131kbCorect!2
53ms131kbCorect!2
69ms131kbCorect!2
73ms131kbCorect!2
8101ms131kbTime limit exceeded0
9100ms131kbTime limit exceeded0
102ms131kbRaspuns gresit!0
112ms131kbRaspuns gresit!0
122ms131kbRaspuns gresit!0
1310ms131kbRaspuns gresit!0
1425ms131kbRaspuns gresit!0
1547ms131kbRaspuns gresit!0
16101ms131kbTime limit exceeded0
17102ms131kbTime limit exceeded0
18101ms131kbTime limit exceeded0
19101ms131kbTime limit exceeded0
202ms131kbCorect!2
Punctaj total16

Ceva nu functioneaza?