Borderou de evaluare (job #1736488)

Utilizator akaprosAna Kapros akapros Data 1 august 2016 20:22:11
Problema Rsir Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:11:81: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d %d %d %d %d %d %d %lld", &t0, &t1, &a, &b, &x, &y, &z, &mod, &n); ^ user.cpp:11:81: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:11:81: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:11:81: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:11:81: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:11:81: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short int*’ [-Wformat=] user.cpp:11:81: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘short int*’ [-Wformat=] user.cpp:11:81: warning: format ‘%d’ expects argument of type ‘int*’, but argument 9 has type ‘short int*’ [-Wformat=] user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rsir.in", "r", stdin); ^ user.cpp:11:82: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %d %d %d %d %lld", &t0, &t1, &a, &b, &x, &y, &z, &mod, &n); ^ user.cpp: In function ‘void write()’: user.cpp:106:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rsir.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbIncorect0
20ms456kbIncorect0
30ms456kbIncorect0
40ms456kbIncorect0
50ms456kbIncorect0
60ms456kbIncorect0
70ms472kbIncorect0
80ms468kbIncorect0
90ms472kbIncorect0
100ms468kbIncorect0
Punctaj total0

Ceva nu functioneaza?