Borderou de evaluare (job #1463019)

Utilizator multislashRobert Morosanu multislash Data 19 iulie 2015 17:30:57
Problema Bunicu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bunicu.in","r",stdin); ^ user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bunicu.out","w",stdout); ^ user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:12:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] {scanf("%d\n",&n); ^ user.cpp:15:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccZfkrsw.o: In function `main': user.cpp:(.text.startup+0xbf): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms256kbBA NUUUU!!!00
20ms256kbBA NUUUU!!!0
30ms260kbBA NUUUU!!!0
40ms252kbBA NUUUU!!!0
54ms256kbA BA DA!!!20
Punctaj total0

Ceva nu functioneaza?