Borderou de evaluare (job #799668)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 19 octombrie 2012 18:29:22
Problema Aho-Corasick Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int has_matchstr(N_t*, char*)’: user.cpp:35: warning: comparison between signed and unsigned integer expressions user.cpp: In function ‘int main()’: user.cpp:57: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:57: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:58: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:61: warning: ignoring return value of ‘char* gets(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:61: /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/cclTbPTs.o: In function `main': user.cpp:(.text+0x39b): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text+0x316): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK5
20ms292kbOK5
30ms284kbOK5
40ms296kbOK5
50ms252kbOK5
632ms1436kbOK5
740ms1712kbOK5
892ms2980kbIncorect0
972ms3560kbOK5
1060ms2204kbOK5
1140ms1436kbOK5
1264ms2772kbOK5
1312ms904kbOK5
148ms832kbOK5
1512ms2072kbKilled by signal 11(SIGSEGV).0
1692ms2348kbOK5
17Depăşit2032kbTime limit exceeded.0
1840ms1436kbOK5
1992ms3248kbOK5
20Depăşit7172kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?