Borderou de evaluare (job #1497928)

Utilizator CiurezAndreiCiurez Marius-Andrei CiurezAndrei Data 7 octombrie 2015 19:50:05
Problema Nc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(s[i] == '.') ^ user.cpp:15:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s,5100,f); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:15:24: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms228kbOK10
20ms220kbOK10
30ms224kbOK10
40ms224kbOK10
50ms228kbOK10
64ms244kbOK10
78ms260kbOK10
812ms264kbOK10
916ms272kbOK10
1020ms264kbOK10
Punctaj total100

Ceva nu functioneaza?