Borderou de evaluare (job #911476)

Utilizator andrici_cezarAndrici Cezar andrici_cezar Data 11 martie 2013 18:36:14
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: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/cca3NZsZ.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
10ms244kbOK5
20ms248kbOK5
34ms308kbIncorect0
44ms356kbOK5
54ms404kbOK5
64ms460kbOK5
74ms512kbOK5
84ms556kbOK5
94ms616kbOK5
104ms664kbOK5
118ms712kbOK5
128ms760kbOK5
138ms808kbOK5
1412ms864kbOK5
1512ms916kbOK5
1616ms964kbOK5
1720ms1016kbOK5
1820ms1068kbOK5
1924ms1112kbOK5
2028ms1176kbOK5
Punctaj total95

Ceva nu functioneaza?