Borderou de evaluare (job #869514)

Utilizator pirvupirvu tudor pirvu Data 1 februarie 2013 18:51:36
Problema Vila Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

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:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:55: warning: ignoring return value of ‘char* gets(char*)’, 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 ‘int main()’ at user.cpp:55: /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/cckiG0bi.o: In function `main': user.cpp:(.text+0x259): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbOK10
24ms252kbOK10
34ms356kbOK10
44ms352kbOK10
54ms352kbOK10
64ms360kbOK10
74ms352kbOK10
84ms372kbOK10
94ms360kbOK10
104ms356kbOK10
Punctaj total100

Ceva nu functioneaza?