Borderou de evaluare (job #886608)

Utilizator elfusFlorin Chirica elfus Data 23 februarie 2013 00:19:34
Problema Mxl Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:50: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:51: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, 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 user.cpp:58: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘int solve(int, int)’: user.cpp:25: warning: ‘k’ may be used uninitialized in this function 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:58: /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/ccVXXR4S.o: In function `main': user.cpp:(.text+0x28a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbIncorect0
20ms248kbIncorect0
30ms256kbIncorect0
44ms272kbIncorect0
54ms288kbIncorect0
64ms296kbIncorect0
74ms308kbIncorect0
84ms308kbIncorect0
94ms352kbIncorect0
1016ms400kbIncorect0
Punctaj total0

Ceva nu functioneaza?