Borderou de evaluare (job #1217315)

Utilizator MaarcellKurt Godel Maarcell Data 7 august 2014 01:49:21
Problema Muzica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

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
10ms664kbOK10
20ms1656kbOK10
336ms2960kbOK10
4116ms3016kbOK10
5168ms3044kbOK10
6556ms3044kbOK10
7584ms3040kbOK10
8Depăşit3012kbTime limit exceeded.0
9Depăşit3020kbTime limit exceeded.0
100ms328kbOK10
Punctaj total80

Ceva nu functioneaza?