Borderou de evaluare (job #1219922)

Utilizator pop_bogdanBogdan Pop pop_bogdan Data 15 august 2014 18:42:25
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:25:54: warning: format ‘%i’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] scanf("%i%i%i%i%i%i%i",&N,&M,&X[0],&X[1],&C,&D,&E); ^ user.cpp:25:54: warning: format ‘%i’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:30:22: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%i",&x); ^ user.cpp:23: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:24: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:25:55: 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,&X[0],&X[1],&C,&D,&E); ^ user.cpp:30: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
10ms632kbOK10
20ms1568kbOK10
340ms2292kbOK10
4136ms2344kbOK10
5244ms2376kbOK10
6672ms2376kbOK10
7788ms2372kbOK10
8Depăşit2348kbTime limit exceeded.0
9Depăşit2348kbTime limit exceeded.0
100ms312kbOK10
Punctaj total80

Ceva nu functioneaza?