Borderou de evaluare (job #1345961)

Utilizator SmarandaMaria Pandele Smaranda Data 17 februarie 2015 22:35:01
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
20ms272kbOK1010
30ms276kbOK1010
40ms280kbOK1010
528ms3392kbOK1010
660ms6520kbOK1010
792ms9636kbOK1010
8116ms12768kbOK1030
9144ms15116kbOK10
100ms264kbOK10
Punctaj total100

Ceva nu functioneaza?