Borderou de evaluare (job #1219913)

Utilizator pop_bogdanBogdan Pop pop_bogdan Data 15 august 2014 17:45:31
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:26: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:26:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:26:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:26:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:26:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:26:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 7 has type ‘long long int*’ [-Wformat=] user.cpp:26:48: warning: format ‘%i’ expects argument of type ‘int*’, but argument 8 has type ‘long long int*’ [-Wformat=] user.cpp:33:22: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%i",&x); ^ user.cpp:87:18: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%i",r); ^ user.cpp:24: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:25: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:26: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:33: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
10ms644kbOK10
20ms1644kbOK10
348ms2956kbOK10
4148ms2996kbOK10
5256ms3032kbOK10
6740ms3024kbOK10
7496ms3032kbOK10
8Depăşit3000kbTime limit exceeded.0
9Depăşit3008kbTime limit exceeded.0
100ms316kbOK10
Punctaj total80

Ceva nu functioneaza?