Borderou de evaluare (job #921163)

Utilizator GheorgheMihaiMihai Gheorghe GheorgheMihai Data 20 martie 2013 20:16:33
Problema Search Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:48: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:56: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:56: /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/ccRxFgy0.o: In function `main': user.cpp:(.text+0x202): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK5
20ms304kbOK5
34ms432kbOK5
44ms512kbOK5
58ms860kbOK5
64ms508kbOK5
728ms1236kbOK5
836ms1252kbOK5
9268ms2268kbOK5
10288ms2264kbOK5
11284ms2264kbOK5
12240ms2156kbOK5
13244ms2184kbOK5
14260ms2212kbOK5
15112ms1348kbOK5
16324ms2136kbOK5
17264ms2268kbOK5
18320ms2272kbOK5
19288ms2268kbOK5
20360ms2264kbOK5
Punctaj total100

Ceva nu functioneaza?