Borderou de evaluare (job #925639)

Utilizator radu_voroneanuVoroneanu Radu Stefan radu_voroneanu Data 24 martie 2013 17:24:06
Problema Rama Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:49: warning: suggest explicit braces to avoid ambiguous ‘else’ user.cpp:17: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:18: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, 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 ‘char* gets(char*)’, 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 ‘int main()’ 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/cc5LZVa9.o: In function `main': user.cpp:(.text+0x8f): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms404kbOK10
28ms928kbOK10
324ms1272kbOK10
4104ms2308kbOK10
532ms2624kbOK10
620ms2588kbOK10
7124ms2656kbOK10
816ms2660kbOK10
912ms2652kbOK10
1032ms2656kbOK10
Punctaj total100

Ceva nu functioneaza?