Borderou de evaluare (job #919781)

Utilizator alex_unixPetenchea Alexandru alex_unix Data 19 martie 2013 20:22:58
Problema Randuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:15: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp: In function ‘void print()’: user.cpp:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp: In function ‘bool lcs(int, int)’: user.cpp:46: warning: array subscript has type ‘char’ user.cpp:46: warning: array subscript has type ‘char’ user.cpp:47: warning: no return statement in function returning non-void In file included from /usr/include/stdio.h:910, from /usr/include/c++/4.4/cstdio:45, from user.cpp:2: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:19: /usr/include/bits/stdio2.h:230: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size /tmp/cctNGVVE.o: In function `main': user.cpp:(.text+0x4e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms264kbOK1020
24ms276kbOK10
34ms276kbOK100
44ms264kbOK10
512ms280kbIncorect0
612ms284kbIncorect0
78ms280kbIncorect00
8Depăşit268kbTime limit exceeded.0
9Depăşit308kbTime limit exceeded.0
104ms264kbOK10
Punctaj total20

Ceva nu functioneaza?