Borderou de evaluare (job #925623)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:54: warning: suggest explicit braces to avoid ambiguous ‘else’ user.cpp:18: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:19: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:23: 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:23: /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/cc7P9mgX.o: In function `main': user.cpp:(.text+0x8a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms436kbIncorect0
28ms964kbOK10
324ms1276kbOK10
4Depăşit2320kbTime limit exceeded.0
540ms2636kbOK10
628ms2600kbOK10
7Depăşit2636kbTime limit exceeded.0
820ms2668kbOK10
9584ms2672kbOK10
1036ms2668kbOK10
Punctaj total70

Ceva nu functioneaza?