Borderou de evaluare (job #911444)

Utilizator andrici_cezarAndrici Cezar andrici_cezar Data 11 martie 2013 18:16:41
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:29: warning: comparison between signed and unsigned integer expressions user.cpp:34: warning: comparison between signed and unsigned integer expressions user.cpp:24: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:25: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:27: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:33: 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:33: /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/ccuiRI32.o: In function `main': user.cpp:(.text+0x14a): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text+0xd8): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbIncorect0
20ms260kbIncorect0
34ms304kbOK5
44ms364kbIncorect0
54ms408kbIncorect0
64ms460kbOK5
74ms516kbIncorect0
84ms560kbIncorect0
94ms612kbIncorect0
108ms660kbIncorect0
118ms708kbOK5
128ms764kbIncorect0
1312ms812kbIncorect0
1412ms864kbIncorect0
1516ms924kbIncorect0
1616ms968kbIncorect0
1720ms1020kbIncorect0
1824ms1072kbIncorect0
1928ms1120kbIncorect0
2032ms1176kbIncorect0
Punctaj total15

Ceva nu functioneaza?