Borderou de evaluare (job #921159)

Utilizator GheorgheMihaiMihai Gheorghe GheorgheMihai Data 20 martie 2013 20:10:50
Problema Search Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 15

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:53: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:54: warning: ignoring return value of ‘int scanf(const 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 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:53: /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/ccsMAC5I.o: In function `main': user.cpp:(.text+0x1f2): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK5
20ms300kbIncorect0
34ms428kbIncorect0
44ms512kbIncorect0
58ms860kbOK5
64ms512kbOK5
732ms1236kbIncorect0
836ms1256kbIncorect0
9308ms2268kbIncorect0
10300ms2268kbIncorect0
11300ms2268kbIncorect0
12264ms2160kbIncorect0
13272ms2188kbIncorect0
14288ms2212kbIncorect0
15116ms1348kbIncorect0
16352ms2172kbIncorect0
17276ms2268kbIncorect0
18344ms2272kbIncorect0
19300ms2264kbIncorect0
20396ms2268kbIncorect0
Punctaj total15

Ceva nu functioneaza?