Borderou de evaluare (job #791379)

Utilizator veleanduAlex Velea veleandu Data 23 septembrie 2012 22:27:02
Problema Bcrc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf (" %d %d ", &n, &m ); ^ user.cpp:31:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:34:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf (" %d %d %d ", &Cu[i].t, &Cu[i].c, &Cu[i].b ); ^ user.cpp:34:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:34:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:100:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n", Maxim ); ^ user.cpp:28:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("bcrc.in","r",stdin); ^ user.cpp:29:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("bcrc.out","w",stdout); ^ user.cpp:31:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf (" %d %d ", &n, &m ); ^ user.cpp:34:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf (" %d %d %d ", &Cu[i].t, &Cu[i].c, &Cu[i].b ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms284kbOK10
30ms272kbWall time limit exceeded.0
40ms272kbWall time limit exceeded.0
50ms276kbWall time limit exceeded.0
60ms276kbWall time limit exceeded.0
70ms280kbWall time limit exceeded.0
80ms280kbWall time limit exceeded.0
90ms280kbWall time limit exceeded.0
100ms276kbWall time limit exceeded.0
Punctaj total20

Ceva nu functioneaza?