Borderou de evaluare (job #919792)

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

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/ccXWLu3p.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
24ms272kbOK10
34ms276kbOK1040
44ms272kbOK10
512ms284kbOK10
612ms280kbOK10
78ms276kbOK100
8Depăşit272kbTime limit exceeded.0
9Depăşit304kbTime limit exceeded.0
104ms264kbOK10
Punctaj total60

Ceva nu functioneaza?