Borderou de evaluare (job #1559685)

Utilizator mariakKapros Maria mariak Data 31 decembrie 2015 14:19:12
Problema Diff Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:20:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf("%d", &g); ^ user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("diff.in", "r", stdin); ^ user.cpp:17:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &mm); ^ user.cpp:20:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &g); ^ user.cpp: In function ‘void write()’: user.cpp:70:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("diff.out", "w", stdout); ^ user.cpp:74:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbRaspuns gresit!0
20ms452kbRaspuns gresit!0
30ms456kbRaspuns gresit!0
40ms456kbRaspuns gresit!0
548ms464kbRaspuns gresit!0
616ms772kbRaspuns gresit!0
712ms720kbRaspuns gresit!0
832ms1112kbRaspuns gresit!0
9140ms468kbRaspuns gresit!0
10140ms472kbRaspuns gresit!0
1116ms852kbRaspuns gresit!0
12104ms468kbRaspuns gresit!0
1388ms788kbRaspuns gresit!0
14136ms916kbRaspuns gresit!0
15184ms1112kbRaspuns gresit!0
16184ms1120kbRaspuns gresit!0
17180ms988kbRaspuns gresit!0
18184ms1112kbRaspuns gresit!0
19180ms988kbRaspuns gresit!0
20180ms1120kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?