Borderou de evaluare (job #911439)

Utilizator andrici_cezarAndrici Cezar andrici_cezar Data 11 martie 2013 18:11:03
Problema Diamante Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 15

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/cczH8nmw.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
10ms240kbIncorect0
20ms248kbIncorect0
34ms304kbOK5
44ms360kbIncorect0
54ms408kbIncorect0
64ms460kbOK5
74ms508kbIncorect0
84ms560kbIncorect0
94ms612kbIncorect0
104ms660kbIncorect0
118ms708kbOK5
128ms764kbIncorect0
138ms812kbIncorect0
1412ms860kbIncorect0
1512ms920kbIncorect0
1616ms960kbIncorect0
1720ms1012kbIncorect0
1820ms1072kbIncorect0
1924ms1116kbIncorect0
2028ms1176kbIncorect0
Punctaj total15

Ceva nu functioneaza?