0_0_35307379_8842.cpp:5:24: error: duplicate 'short'
typedef unsigned short short
^
0_0_35307379_8842.cpp:7:11: error: typedef 'maxn' is initialized (use decltype instead)
const int maxn = 6e4 + 555;
^
0_0_35307379_8842.cpp:8:10: error: 'maxn' was not declared in this scope
char ori[maxn];
^
0_0_35307379_8842.cpp:9:12: error: 'maxn' was not declared in this scope
short tire[maxn][2];
^
0_0_35307379_8842.cpp:10:12: error: 'maxn' was not declared in this scope
short fail[maxn];
^
0_0_35307379_8842.cpp:11:11: error: 'maxn' was not declared in this scope
short cnt[maxn];
^
0_0_35307379_8842.cpp: In function 'void ins(char*, short int)':
0_0_35307379_8842.cpp:19:12: error: 'tire' was not declared in this scope
if(tire[nowid][son] == 0)
^
0_0_35307379_8842.cpp:21:17: error: 'tire' was not declared in this scope
nowid = tire[nowid][son];
^
0_0_35307379_8842.cpp:24:9: error: 'cnt' was not declared in this scope
cnt[nowid] = -1;
^
0_0_35307379_8842.cpp:26:9: error: 'cnt' was not declared in this scope
cnt[nowid] |= v;
^
0_0_35307379_8842.cpp: In function 'void build()':
0_0_35307379_8842.cpp:31:12: error: 'tire' was not declared in this scope
if(tire[0][i])
^
0_0_35307379_8842.cpp:37:16: error: 'tire' was not declared in this scope
if(tire[nowid][i]){
^
0_0_35307379_8842.cpp:38:17: error: 'fail' was not declared in this scope
fail[tire[nowid][i]] = tire[fail[nowid]][i];
^
0_0_35307379_8842.cpp:42:39: error: 'fail' was not declared in this scope
tire[nowid][i] = tire[fail[nowid]][i];
^
0_0_35307379_8842.cpp:44:19: error: 'fail' was not declared in this scope
int arr = fail[nowid];
^
0_0_35307379_8842.cpp:45:12: error: 'cnt' was not declared in this scope
if(cnt[arr] == -1)
^
0_0_35307379_8842.cpp: In function 'void solve(int, int)':
0_0_35307379_8842.cpp:54:21: error: 'ori' was not declared in this scope
scanf("%s", ori);
^
0_0_35307379_8842.cpp:58:21: error: 'ori' was not declared in this scope
scanf("%s", ori);
^
0_0_35307379_8842.cpp:73:20: error: 'cnt' was not declared in this scope
if(cnt[tire[nowid][i]] == -1)
^
0_0_35307379_8842.cpp:73:24: error: 'tire' was not declared in this scope
if(cnt[tire[nowid][i]] == -1)
^
0_0_35307379_8842.cpp:75:38: error: 'cnt' was not declared in this scope
short newsta = sta | cnt[tire[nowid][i]];
^
0_0_35307379_8842.cpp:75:42: error: 'tire' was not declared in this scope
short newsta = sta | cnt[tire[nowid][i]];
^
0_0_35307379_8842.cpp:89:12: error: 'tire' was not declared in this scope
memset(tire, 0, sizeof(tire[0]) * ids);
^
0_0_35307379_8842.cpp:90:12: error: 'fail' was not declared in this scope
memset(fail, 0, sizeof(fail[0]) * ids);
^
0_0_35307379_8842.cpp:91:12: error: 'cnt' was not declared in this scope
memset(cnt, 0, sizeof(cnt[0]) * ids);
^
|