Borderou de evaluare (job #810992)

Utilizator Tester66Tester66 Tester66 Data 11 noiembrie 2012 13:37:52
Problema Binar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:35: 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:35: /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/ccJ6LEsT.o: In function `main': user.cpp:(.text+0x1b2): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms432kbOK10
24ms640kbOK10
34ms1248kbOK10
412ms2260kbOK10
524ms3264kbOK10
628ms3676kbOK10
736ms3880kbOK10
836ms4080kbOK10
940ms4276kbOK10
1040ms4276kbOK10
Punctaj total100

Ceva nu functioneaza?