Borderou de evaluare (job #1219895)

Utilizator pop_bogdanBogdan Pop pop_bogdan Data 15 august 2014 16:41:24
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:22:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%i%i%i%i%i%i%i",&N,&M,&A,&B,&C,&D,&E); ^ user.cpp:22:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:22:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:22:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:22:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:22:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 7 has type ‘long long int*’ [-Wformat=] user.cpp:22:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 8 has type ‘long long int*’ [-Wformat=] user.cpp:27:22: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%i",&x); ^ user.cpp:77:18: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%i",r); ^ user.cpp:20: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:21: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:22:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i%i%i%i%i%i%i",&N,&M,&A,&B,&C,&D,&E); ^ user.cpp:27:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms5476kbOK10
28ms5480kbOK10
352ms5556kbOK10
4176ms5596kbOK10
5212ms5636kbOK10
6856ms5636kbOK10
7536ms5640kbOK10
8Depăşit5600kbTime limit exceeded.0
9Depăşit5608kbTime limit exceeded.0
104ms5476kbOK10
Punctaj total80

Ceva nu functioneaza?