Borderou de evaluare (job #919728)

Utilizator alex_unixPetenchea Alexandru alex_unix Data 19 martie 2013 19:50: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:16: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp: In function ‘void print()’: user.cpp:32: 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:47: warning: array subscript has type ‘char’ user.cpp:47: warning: array subscript has type ‘char’ user.cpp:48: 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:20: /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/ccpECouR.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
112ms268kbOK1020
216ms272kbOK10
324ms276kbOK100
48ms272kbOK10
5Depăşit252kbTime limit exceeded.0
6Depăşit252kbTime limit exceeded.0
728ms280kbIncorect00
8Depăşit272kbTime limit exceeded.0
9Depăşit276kbTime limit exceeded.0
104ms264kbOK10
Punctaj total20

Ceva nu functioneaza?