Borderou de evaluare (job #1734920)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 28 iulie 2016 15:26:35
Problema Cstring Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:41:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cstring.in","r",stdin); ^ user.cpp:42:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cstring.out","w",stdout); ^ user.cpp:44:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:46:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a + 1); ^ user.cpp:47:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(b + 1); ^ user.cpp:48:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(c + 1); ^ /tmp/ccAVYl2i.o: In function `main': user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbOK!10
20ms448kbOK!10
30ms444kbOK!10
40ms452kbOK!10
50ms460kbOK!10
64ms1008kbOK!10
720ms3152kbOK!10
836ms5616kbOK!10
956ms7680kbOK!10
1056ms8324kbOK!10
Punctaj total100

Ceva nu functioneaza?