Borderou de evaluare (job #1458536)

Utilizator tester_100Alin Barosanu tester_100 Data 7 iulie 2015 19:48:52
Problema Sir4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10005]’ [-Wformat=] scanf("%s",&ch); ^ user.cpp:17:15: warning: variable ‘k’ set but not used [-Wunused-but-set-variable] int i,j,X,k; ^ user.cpp:18:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sir4.in","r",stdin); ^ user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sir4.out","w",stdout); ^ user.cpp:20:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d\n",&x,&a,&b,&m,&q); ^ user.cpp:31:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&ch); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK10
20ms284kbOK10
30ms284kbOK10
48msDepăşitMemory limit exceeded.0
58msDepăşitMemory limit exceeded.0
68msDepăşitMemory limit exceeded.0
78msDepăşitMemory limit exceeded.0
88msDepăşitMemory limit exceeded.0
98msDepăşitMemory limit exceeded.0
108msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?