Borderou de evaluare (job #1656787)

Utilizator SilviuIIon Silviu SilviuI Data 19 martie 2016 19:47:50
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:19: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:20: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:22:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %d ",&x,&a,&b,&m,&q); ^ user.cpp:32:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); int l=strlen(s+1); int rest=0; ^ /tmp/ccj0klot.o: In function `main': user.cpp:(.text.startup+0xe8): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms276kbOK10
30ms272kbOK10
40ms272kbIncorect0
5Depăşit236kbTime limit exceeded.0
6Depăşit232kbTime limit exceeded.0
7Depăşit232kbTime limit exceeded.0
8Depăşit236kbTime limit exceeded.0
9Depăşit232kbTime limit exceeded.0
10Depăşit236kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?