Borderou de evaluare (job #791378)

Utilizator veleanduAlex Velea veleandu Data 23 septembrie 2012 22:24:23
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
10ms272kbOK10
20ms276kbOK10
30ms276kbWall time limit exceeded.0
40ms276kbWall time limit exceeded.0
50ms276kbWall time limit exceeded.0
60ms272kbWall time limit exceeded.0
70ms276kbWall time limit exceeded.0
80ms276kbWall time limit exceeded.0
90ms276kbWall time limit exceeded.0
100ms276kbWall time limit exceeded.0
Punctaj total20

Ceva nu functioneaza?