Borderou de evaluare (job #911303)

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

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/ccJdtweX.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
10ms240kbOK5
20ms256kbOK5
34ms308kbIncorect0
44ms360kbOK5
54ms408kbOK5
64ms460kbOK5
74ms512kbOK5
84ms560kbOK5
94ms616kbOK5
108ms660kbOK5
118ms716kbOK5
128ms772kbOK5
1312ms820kbOK5
1412ms868kbOK5
1516ms920kbOK5
1616ms968kbOK5
1720ms1024kbOK5
1828ms1068kbOK5
1928ms1120kbOK5
2032ms1172kbOK5
Punctaj total95

Ceva nu functioneaza?