Borderou de evaluare (job #728235)

Utilizator mattapoMatei Apolzan mattapo Data 28 martie 2012 16:28:08
Problema Copii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:49: 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:49: /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/cccnQJXb.o: In function `main': user.cpp:(.text+0x1f9): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
20ms248kbOK10
30ms252kbOK10
44ms248kbOK10
58ms252kbOK10
68ms252kbOK10
748ms248kbOK10
856ms248kbOK10
952ms252kbOK10
1056ms248kbOK10
Punctaj total100

Ceva nu functioneaza?