Borderou de evaluare (job #1810647)

Utilizator pibogaBogdan piboga Data 20 noiembrie 2016 13:26:42
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:18:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1010]’ [-Wformat=] scanf("%s",&c); ^ user.cpp:30:31: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1010]’ [-Wformat=] printf("%s",&x); ^ user.cpp:18: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:51: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:52: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:55:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&t); ^ user.cpp:60: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ăşit292kbTime limit exceeded.00
2Depăşit288kbTime limit exceeded.0
3Depăşit284kbTime limit exceeded.0
4Depăşit284kbTime limit exceeded.0
5Depăşit284kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?