Borderou de evaluare (job #1217320)

Utilizator MaarcellKurt Godel Maarcell Data 7 august 2014 01:53:27
Problema Muzica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

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
10ms692kbOK10
24ms2292kbOK10
316msDepăşitMemory limit exceeded.0
416msDepăşitMemory limit exceeded.0
520msDepăşitMemory limit exceeded.0
616msDepăşitMemory limit exceeded.0
720msDepăşitMemory limit exceeded.0
820msDepăşitMemory limit exceeded.0
920msDepăşitMemory limit exceeded.0
100ms332kbOK10
Punctaj total30

Ceva nu functioneaza?