Borderou de evaluare (job #920475)

Utilizator alex_unixPetenchea Alexandru alex_unix Data 20 martie 2013 15:26:01
Problema Randuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:19: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp: In function ‘void print()’: user.cpp:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp: In function ‘void lcs(int, int)’: user.cpp:58: warning: array subscript has type ‘char’ user.cpp:58: 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:23: /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/ccKp0FvM.o: In function `main': user.cpp:(.text+0x47): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms240kbOK1020
24ms252kbOK10
34ms256kbOK1040
44ms248kbOK10
54ms260kbOK10
64ms264kbOK10
74ms252kbOK1040
812ms276kbOK10
916ms284kbOK10
104ms244kbOK10
Punctaj total100

Ceva nu functioneaza?