Borderou de evaluare (job #1217323)

Utilizator MaarcellKurt Godel Maarcell Data 7 august 2014 02:04:36
Problema Muzica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%I64d %I64d %I64d %I64d %I64d\n",&A,&B,&C,&D,&E); ^ user.cpp:47:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:47:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:47:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:47:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:44:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("muzica.in","r",stdin); ^ user.cpp:45:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("muzica.out","w",stdout); ^ user.cpp:46:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&N,&M); ^ user.cpp:47:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d %I64d %I64d %I64d %I64d\n",&A,&B,&C,&D,&E); ^ user.cpp:51:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&mel); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms616kbOK10
20ms1220kbOK10
332ms1444kbOK10
492ms1492kbOK10
5172ms1528kbOK10
6456ms1524kbOK10
7584ms1524kbOK10
8864ms1524kbOK10
9868ms1520kbOK10
100ms324kbOK10
Punctaj total100

Ceva nu functioneaza?