Borderou de evaluare (job #911455)

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

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/ccHyikit.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
10ms244kbIncorect0
20ms260kbOK5
34ms308kbIncorect0
44ms360kbOK5
54ms404kbOK5
64ms460kbOK5
74ms508kbOK5
84ms556kbOK5
94ms620kbOK5
104ms660kbOK5
118ms712kbOK5
128ms764kbOK5
138ms816kbOK5
1412ms860kbOK5
1512ms920kbOK5
1616ms968kbOK5
1720ms1020kbOK5
1820ms1072kbOK5
1928ms1124kbOK5
2028ms1176kbOK5
Punctaj total90

Ceva nu functioneaza?