Borderou de evaluare (job #1217321)

Utilizator MaarcellKurt Godel Maarcell Data 7 august 2014 01:57:04
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
10ms684kbOK10
24ms2264kbOK10
316msDepăşitMemory limit exceeded.0
416msDepăşitMemory limit exceeded.0
516msDepăşitMemory limit exceeded.0
616msDepăşitMemory limit exceeded.0
716msDepăşitMemory limit exceeded.0
816msDepăşitMemory limit exceeded.0
916msDepăşitMemory limit exceeded.0
100ms328kbOK10
Punctaj total30

Ceva nu functioneaza?