Borderou de evaluare (job #732007)

Utilizator danalex97Dan H Alexandru danalex97 Data 9 aprilie 2012 15:41:46
Problema Matrix Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘void verifica(char)’: user.cpp:49: warning: array subscript has type ‘char’ user.cpp: In function ‘int main()’: user.cpp:65: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:66: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from /usr/include/c++/4.4/cstdio:45, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘void citire()’ at user.cpp:21: /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 In function ‘char* gets(char*)’, inlined from ‘void citire()’ at user.cpp:24: /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/ccmPOkO9.o: In function `citire()': user.cpp:(.text+0x2ba): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms476kbOK5
24ms596kbOK5
34ms692kbOK5
44ms856kbOK5
54ms1024kbOK5
64ms1108kbOK5
74ms1252kbOK5
88ms1548kbOK5
98ms1788kbOK5
108ms1876kbOK5
1116ms2760kbOK5
1232ms3644kbOK5
1344ms4232kbOK5
1468ms5116kbOK5
15120ms4812kbOK5
16104ms6292kbOK5
17176ms7992kbOK5
18124ms7280kbOK5
19140ms6116kbOK5
20144ms7644kbOK5
Punctaj total100

Ceva nu functioneaza?