Borderou de evaluare (job #1458045)

Utilizator tester_100Alin Barosanu tester_100 Data 6 iulie 2015 11:34:06
Problema Sir4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10005]’ [-Wformat=] scanf("%s",&ch); ^ 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:30: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
10ms284kbIncorect0
20ms280kbOK10
30ms280kbOK10
4112ms276kbOK10
5200ms280kbOK10
6Depăşit280kbTime limit exceeded.0
7Depăşit280kbTime limit exceeded.0
8Depăşit288kbTime limit exceeded.0
9Depăşit292kbTime limit exceeded.0
10Depăşit284kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?