Borderou de evaluare (job #912367)

Utilizator andrici_cezarAndrici Cezar andrici_cezar Data 12 martie 2013 12:54:17
Problema Diamante Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19: warning: comparison between signed and unsigned integer expressions user.cpp:25: warning: comparison between signed and unsigned integer expressions user.cpp:15: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:16: 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 ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:24: 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:24: /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/ccQNM1GR.o: In function `main': user.cpp:(.text+0xc2): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text+0x58): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbOK5
24ms260kbOK5
34ms312kbOK5
44ms364kbOK5
54ms408kbOK5
64ms464kbOK5
74ms516kbOK5
84ms560kbOK5
94ms620kbOK5
104ms664kbOK5
118ms716kbOK5
128ms772kbOK5
138ms816kbOK5
1412ms864kbOK5
1512ms920kbOK5
1616ms964kbOK5
1720ms1024kbOK5
1820ms1072kbOK5
1924ms1120kbOK5
2028ms1176kbOK5
Punctaj total100

Ceva nu functioneaza?