Borderou de evaluare (job #1220122)

Utilizator geniucosOncescu Costin geniucos Data 16 august 2014 15:40:24
Problema Cstring Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:43:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cstring.in","r",stdin); ^ user.cpp:44:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cstring.out","w",stdout); ^ user.cpp:46:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:47:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a+1); ^ user.cpp:48:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(b+1); ^ user.cpp:49:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(c+1); ^ /tmp/ccQ6XU0W.o: In function `main': user.cpp:(.text.startup+0x7e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK!10
20ms256kbOK!10
34ms264kbOK!10
4Depăşit252kbTime limit exceeded.0
5Depăşit248kbTime limit exceeded.0
6Depăşit440kbTime limit exceeded.0
7Depăşit1224kbTime limit exceeded.0
8Depăşit2188kbTime limit exceeded.0
9Depăşit2876kbTime limit exceeded.0
10Depăşit3160kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?