Borderou de evaluare (job #674095)

Utilizator GrimpowRadu Andrei Grimpow Data 5 februarie 2012 15:47:05
Problema Apel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result 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 ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:26: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘int eval()’: user.cpp:129: warning: comparison between signed and unsigned integer expressions In file included from /usr/include/stdio.h:910, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘void read()’ at user.cpp:24: /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 In function ‘char* gets(char*)’, inlined from ‘void read()’ at user.cpp:26: /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/ccihbAvf.o: In function `read()': user.cpp:(.text+0x27e): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text+0x200): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms268kbOK10
30ms272kbOK10
40ms280kbOK10
50ms280kbOK10
60ms268kbOK10
70ms276kbOK10
80ms276kbOK10
90ms264kbOK10
100ms264kbOK10
Punctaj total100

Ceva nu functioneaza?