Borderou de evaluare (job #1236456)

Utilizator geniucosOncescu Costin geniucos Data 1 octombrie 2014 22:34:55
Problema Rsir Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:42:76: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] scanf ("%d %d %d %d %d %d %d %d %lld", &T0, &T1, &A, &B, &X, &Y, &Z, &M, &n); ^ user.cpp:42:76: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:42:76: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:42:76: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short int*’ [-Wformat=] user.cpp:42:76: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘short int*’ [-Wformat=] user.cpp:42:76: warning: format ‘%d’ expects argument of type ‘int*’, but argument 9 has type ‘short int*’ [-Wformat=] user.cpp:39:32: 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:40:34: 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); ^ user.cpp:42:77: 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, &M, &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbIncorect0
24ms280kbIncorect0
30ms276kbIncorect0
40ms284kbIncorect0
50ms280kbIncorect0
60ms280kbIncorect0
70ms292kbIncorect0
80ms284kbIncorect0
90ms296kbIncorect0
100ms292kbIncorect0
Punctaj total0

Ceva nu functioneaza?