Borderou de evaluare (job #919658)

Utilizator alex_unixPetenchea Alexandru alex_unix Data 19 martie 2013 19:26:34
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:39: warning: missing braces around initializer for ‘int [101]’ user.cpp:47: warning: array subscript has type ‘char’ user.cpp:47: warning: array subscript has type ‘char’ 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/ccX8qZPp.o: In function `main': user.cpp:(.text+0x7e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms424kbOK1020
24ms436kbOK10
34ms428kbOK100
44ms420kbOK10
512ms436kbIncorect0
612ms436kbIncorect0
78ms436kbIncorect00
8Depăşit424kbTime limit exceeded.0
9Depăşit468kbTime limit exceeded.0
104ms416kbOK10
Punctaj total20

Ceva nu functioneaza?