Borderou de evaluare (job #1345959)

Utilizator SmarandaMaria Pandele Smaranda Data 17 februarie 2015 22:34:35
Problema Toys Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:51:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf ("%d%d%d%d%d", &S, &X, &Y, &Z, &V); ^ user.cpp:51:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:51:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:51:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:51:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:44:18: warning: unused variable ‘g’ [-Wunused-variable] int i, k, c, g = 0; ^ user.cpp:47:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("toys.in", "r", stdin); ^ user.cpp:48:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("toys.out", "w", stdout); ^ user.cpp:50:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d", &n, &l, &m); ^ user.cpp:51:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d%d%d", &S, &X, &Y, &Z, &V); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms276kbOK1010
20ms276kbOK1010
30ms272kbOK1010
40ms284kbOK1010
528ms3392kbOK1010
664ms6520kbOK1010
788ms9644kbOK1010
8112ms12768kbOK1030
9156ms15112kbOK10
100ms260kbOK10
Punctaj total100

Ceva nu functioneaza?