Borderou de evaluare (job #1204272)

Utilizator Pintilie_AndreiFII-Pintilie Andrei Pintilie_Andrei Data 2 iulie 2014 15:54:05
Problema Reguli Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void R()’: user.cpp:9:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:11:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&x); ^ user.cpp:15:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&x); ^ user.cpp: In function ‘int main()’: user.cpp:42:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",m); ^ user.cpp: In function ‘void R()’: user.cpp:8: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:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ user.cpp:15:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ user.cpp: In function ‘int main()’: user.cpp:41:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("reguli.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms620kbOK10
240ms1444kbIncorect0
3132ms3576kbIncorect0
4260ms6116kbIncorect0
544ms1208kbIncorect0
624ms856kbIncorect0
728ms1324kbOK10
80ms328kbIncorect0
90ms320kbIncorect0
100ms268kbOK10
Punctaj total30

Ceva nu functioneaza?