Borderou de evaluare (job #1810645)

Utilizator pibogaBogdan piboga Data 20 noiembrie 2016 13:22:39
Problema Bunicu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void gen(int)’: user.cpp:24:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1010]’ [-Wformat=] scanf("%s",&c); ^ user.cpp:37:31: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1010]’ [-Wformat=] printf("%s",&x); ^ user.cpp:24:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&c); ^ user.cpp: In function ‘int main()’: user.cpp:58:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bunicu.in","r",stdin); ^ user.cpp:59:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bunicu.out","w",stdout); ^ user.cpp:63:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&t); ^ user.cpp:69:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit288kbTime limit exceeded.00
2Depăşit284kbTime limit exceeded.0
3Depăşit288kbTime limit exceeded.0
4Depăşit284kbTime limit exceeded.0
5Depăşit292kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?