Borderou de evaluare (job #721865)

Utilizator repp4raduRadu-Andrei Szasz repp4radu Data 24 martie 2012 12:22:21
Problema Cobai Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:22: warning: ignoring return value of ‘char* gets(char*)’, 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: In function ‘int main()’: user.cpp:69: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:70: 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 user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘void citire()’ at user.cpp:22: /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/ccFLqIBx.o: In function `citire()': user.cpp:(.text+0x24f): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text+0x26b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbWrong answer!0
20ms272kbWrong answer!0
30ms272kbWrong answer!0
40ms280kbWrong answer!0
50ms264kbWrong answer!0
60ms272kbWrong answer!0
70ms280kbWrong answer!0
80ms272kbWrong answer!0
90ms272kbWrong answer!0
100ms280kbWrong answer!0
110ms272kbWrong answer!0
120ms268kbWrong answer!0
130ms276kbWrong answer!0
140ms280kbWrong answer!0
150ms264kbWrong answer!0
160ms272kbWrong answer!0
170ms264kbWrong answer!0
180ms264kbWrong answer!0
190ms284kbWrong answer!0
200ms272kbWrong answer!0
Punctaj total0

Ceva nu functioneaza?