Borderou de evaluare (job #817401)

Utilizator PetcuIoanPetcu Ioan Vlad PetcuIoan Data 17 noiembrie 2012 13:51:44
Problema Cruce Status done
Runda FMI No Stress 3 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:8: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:9: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:14: 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:14: /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/cccOzIq4.o: In function `main': user.cpp:(.text+0x78): warning: the `gets' function is dangerous and should not be used.
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
✓14ms324kbOK10
✓20ms248kbOK10
✓30ms252kbOK10
✓40ms256kbOK10
✓50ms256kbOK10
✓64ms284kbOK10
✓74ms296kbOK10
✓84ms320kbOK10
✓94ms324kbOK10
✓104ms328kbOK10
Punctaj total100

Ceva nu functioneaza?