Borderou de evaluare (job #787230)

Utilizator visanrVisan Radu visanr Data 12 septembrie 2012 22:05:22
Problema Shift Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: 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:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:30: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:55: warning: ignoring return value of ‘int scanf(const 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:22: /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 In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:30: /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/ccT9w5ou.o: In function `main': user.cpp:(.text+0xe9): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms248kbOK10100
20ms248kbOK10
30ms252kbOK10
44ms296kbOK10
54ms880kbOK10
64ms1132kbOK10
74ms1260kbOK10
88ms1504kbOK10
98ms1508kbOK10
108ms1512kbOK10
Punctaj total100

Ceva nu functioneaza?