Borderou de evaluare (job #1385049)

Utilizator horiainfoTurcuman Horia horiainfo Data 11 martie 2015 17:31:10
Problema Reguli Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:10:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:11:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&b,&a); ^ user.cpp:11:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:16:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&a); ^ user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("reguli.in","r",stdin); ^ user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&b,&a); ^ user.cpp:16:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms656kbOK10
240ms1208kbIncorect0
3156ms2632kbIncorect0
4304ms4332kbIncorect0
556ms1056kbIncorect0
628ms820kbIncorect0
728ms1124kbOK10
80ms472kbIncorect0
90ms460kbIncorect0
100ms420kbOK10
Punctaj total30

Ceva nu functioneaza?