Borderou de evaluare (job #1730375)

Utilizator andreey_047Andrei Maxim andreey_047 Data 16 iulie 2016 20:43:03
Problema Aho-Corasick Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 25

Raport evaluator

Compilare: user.cpp: In function ‘void atac()’: user.cpp:67:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < R->p.size();++i)v[R->p[i]] = R->num; ^ user.cpp: In function ‘int main()’: user.cpp:89:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < strlen(t); ++i){ ^ user.cpp:86:18: warning: unused variable ‘F’ [-Wunused-variable] Trie* R = T,*F; ^ user.cpp:75:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ahocorasick.in","r",stdin); ^ user.cpp:76:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ahocorasick.out","w",stdout); ^ user.cpp:78:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n%d\n",t,&q); ^ user.cpp:82:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",ch); N = strlen(ch); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms472kbOK5
20ms472kbOK5
30ms468kbOK5
40ms464kbOK5
50ms464kbOK5
6Depăşit1032kbTime limit exceeded.0
7Depăşit1368kbTime limit exceeded.0
88ms1736kbKilled by signal 11(SIGSEGV).0
98ms1888kbKilled by signal 11(SIGSEGV).0
10Depăşit1556kbTime limit exceeded.0
11Depăşit1360kbTime limit exceeded.0
128ms1700kbKilled by signal 11(SIGSEGV).0
13Depăşit904kbTime limit exceeded.0
14Depăşit992kbTime limit exceeded.0
15Depăşit1280kbTime limit exceeded.0
16Depăşit1348kbTime limit exceeded.0
17Depăşit1364kbTime limit exceeded.0
18Depăşit1388kbTime limit exceeded.0
19Depăşit1828kbTime limit exceeded.0
2048ms2852kbKilled by signal 11(SIGSEGV).0
Punctaj total25

Ceva nu functioneaza?