Borderou de evaluare (job #1217324)

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

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
10ms276kbOK10
20ms288kbOK10
3492ms360kbOK10
4Depăşit376kbTime limit exceeded.0
5Depăşit408kbTime limit exceeded.0
6Depăşit408kbTime limit exceeded.0
7Depăşit404kbTime limit exceeded.0
8Depăşit404kbTime limit exceeded.0
9Depăşit408kbTime limit exceeded.0
100ms276kbOK10
Punctaj total40

Ceva nu functioneaza?