Borderou de evaluare (job #1220105)

Utilizator geniucosOncescu Costin geniucos Data 16 august 2014 14:58:57
Problema Cstring Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:32: 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:31:34: 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:33:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:34:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a+1); ^ user.cpp:35:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(b+1); ^ user.cpp:36:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(c+1); ^ /tmp/ccDUlLUs.o: In function `main': user.cpp:(.text.startup+0x7e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbRaspuns Gresit! Distanta obtinuta=10 Distanta corecta=50
20ms260kbRaspuns Gresit! Distanta obtinuta=16 Distanta corecta=140
30ms264kbRaspuns Gresit! Distanta obtinuta=59 Distanta corecta=320
40ms268kbRaspuns Gresit! Distanta obtinuta=134 Distanta corecta=750
50ms268kbRaspuns Gresit! Distanta obtinuta=602 Distanta corecta=3010
628ms464kbRaspuns Gresit! Distanta obtinuta=46927 Distanta corecta=235070
772ms1240kbRaspuns Gresit! Distanta obtinuta=130962 Distanta corecta=1163330
8Depăşit2208kbTime limit exceeded.0
9Depăşit2880kbTime limit exceeded.0
10188ms3184kbRaspuns Gresit! Distanta obtinuta=275659 Distanta corecta=2599870
Punctaj total0

Ceva nu functioneaza?