Borderou de evaluare (job #1219916)

Utilizator pop_bogdanBogdan Pop pop_bogdan Data 15 august 2014 18:10:37
Problema Muzica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27: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:27:54: warning: format ‘%i’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:32:22: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%i",&x); ^ user.cpp:25: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:26: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:27: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:32: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
10ms640kbOK10
20ms1640kbOK10
344ms2948kbIncorect0
4144ms2996kbOK10
5248ms3032kbOK10
6716ms3028kbOK10
7752ms3028kbIncorect0
8Depăşit3004kbTime limit exceeded.0
9Depăşit3004kbTime limit exceeded.0
100ms308kbOK10
Punctaj total60

Ceva nu functioneaza?