Borderou de evaluare (job #1578441)

Utilizator cojocarugabiReality cojocarugabi Data 24 ianuarie 2016 11:59:26
Problema Revsecv Status done
Runda Algoritmiada 2016 Runda 2 Seniori Compilator cpp | Vezi sursa
Scor 35

Raport evaluator

Compilare: user.cpp: In function ‘void go(char, int)’: user.cpp:24:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (; p != -1 && !s[p].next[chr]; p = s[p].link) ^ user.cpp:25:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] s[p].next[chr] = nw; ^ user.cpp:32:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] int g = s[p].next[chr]; ^ user.cpp:43:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (; p != -1 && s[p].next[chr] == g; p = s[p].link) s[p].next[chr] = clone; ^ user.cpp:43:72: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (; p != -1 && s[p].next[chr] == g; p = s[p].link) s[p].next[chr] = clone; ^ user.cpp: In function ‘int main()’: user.cpp:112:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] int to = s[0].next[c[n]]; ^ user.cpp:113:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (int i = n;i;--i,to = s[to].next[c[i]]) s[to].cnt = 1; ^ user.cpp:122:40: warning: array subscript has type ‘char’ [-Wchar-subscripts] while (v && !s[v].next[c[i]]) v = s[v].link,ln = s[v].len; ^ user.cpp:124:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] int to = s[v].next[c[i]]; ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
128ms23872kbOK5
232ms23872kbOK5
332ms23872kbOK5
432ms23872kbOK5
5144ms23884kbOK5
6288ms23880kbOK5
71204ms23900kbOK5
8Depăşit23908kbTime limit exceeded.0
9Depăşit24080kbTime limit exceeded.0
10Depăşit24104kbTime limit exceeded.0
11Depăşit24124kbTime limit exceeded.0
12Depăşit24144kbTime limit exceeded.0
13Depăşit24168kbTime limit exceeded.0
14Depăşit24196kbTime limit exceeded.0
15Depăşit24264kbTime limit exceeded.0
16Depăşit24292kbTime limit exceeded.0
17Depăşit24324kbTime limit exceeded.0
18Depăşit24344kbTime limit exceeded.0
19Depăşit24368kbTime limit exceeded.0
20Depăşit24372kbTime limit exceeded.0
Punctaj total35

Ceva nu functioneaza?