0_0_30275768_11747.cpp: In member function 'void LCA::init(int, int)':
0_0_30275768_11747.cpp:39:9: error: 'STlen' was not declared in this scope
STlen = (2 * n - 1) / BASE + 1;
^
0_0_30275768_11747.cpp:39:31: error: 'BASE' was not declared in this scope
STlen = (2 * n - 1) / BASE + 1;
^
0_0_30275768_11747.cpp: In member function 'void LCA::STbuild()':
0_0_30275768_11747.cpp:87:29: error: 'STlen' was not declared in this scope
for(int i = 1; i <= STlen; i++)
^
0_0_30275768_11747.cpp:89:29: error: 'STlen' was not declared in this scope
for(int i = 1; i <= STlen; i++)
^
0_0_30275768_11747.cpp:91:24: error: 'STmax' was not declared in this scope
mn[0][i] = STmax[i];
^
0_0_30275768_11747.cpp:93:33: error: 'STlen' was not declared in this scope
for(int i = 1; i <= log[STlen]; i++)
^
0_0_30275768_11747.cpp: In member function 'void LCA::work()':
0_0_30275768_11747.cpp:108:28: error: 'STlen' was not declared in this scope
for(int i = 0; i < STlen - 1; i++)
^
0_0_30275768_11747.cpp:111:29: error: 'BASE' was not declared in this scope
for(int j = i * BASE; j < (i + 1) * BASE; j++)
^
0_0_30275768_11747.cpp:115:21: error: 'STq' was not declared in this scope
STq[j] = j;
^
0_0_30275768_11747.cpp:119:21: error: 'STq' was not declared in this scope
STq[j] = STq[j - 1];
^
0_0_30275768_11747.cpp:122:35: error: 'BASE' was not declared in this scope
for(int j = (i + 1) * BASE - 1; j >= i * BASE; j--)
^
0_0_30275768_11747.cpp:126:21: error: 'STh' was not declared in this scope
STh[j] = j;
^
0_0_30275768_11747.cpp:130:21: error: 'STh' was not declared in this scope
STh[j] = STh[j + 1];
^
0_0_30275768_11747.cpp:134:22: error: 'STlen' was not declared in this scope
for(int j = (STlen - 1) * BASE; j < 2 * n - 1; j++)
^
0_0_30275768_11747.cpp:134:35: error: 'BASE' was not declared in this scope
for(int j = (STlen - 1) * BASE; j < 2 * n - 1; j++)
^
0_0_30275768_11747.cpp:138:17: error: 'STq' was not declared in this scope
STq[j] = j;
^
0_0_30275768_11747.cpp:142:17: error: 'STq' was not declared in this scope
STq[j] = STq[j - 1];
^
0_0_30275768_11747.cpp:145:38: error: 'STlen' was not declared in this scope
for(int j = 2 * n - 2; j >= (STlen - 1) * BASE; j--)
^
0_0_30275768_11747.cpp:145:51: error: 'BASE' was not declared in this scope
for(int j = 2 * n - 2; j >= (STlen - 1) * BASE; j--)
^
0_0_30275768_11747.cpp:149:17: error: 'STh' was not declared in this scope
STh[j] = j;
^
0_0_30275768_11747.cpp:153:17: error: 'STh' was not declared in this scope
STh[j] = STh[j + 1];
^
0_0_30275768_11747.cpp:156:28: error: 'STlen' was not declared in this scope
for(int i = 0; i < STlen; i++)
^
0_0_30275768_11747.cpp:158:13: error: 'STmax' was not declared in this scope
STmax[i] = STh[i * BASE];
^
0_0_30275768_11747.cpp:158:24: error: 'STh' was not declared in this scope
STmax[i] = STh[i * BASE];
^
0_0_30275768_11747.cpp:158:32: error: 'BASE' was not declared in this scope
STmax[i] = STh[i * BASE];
^
0_0_30275768_11747.cpp: In member function 'int LCA::dep(int, int)':
0_0_30275768_11747.cpp:184:33: error: 'STh' was not declared in this scope
ans = min(eulertour[STh[x]].first, eulertour[STq[y]].first);
^
0_0_30275768_11747.cpp:184:58: error: 'STq' was not declared in this scope
ans = min(eulertour[STh[x]].first, eulertour[STq[y]].first);
^
0_0_30275768_11747.cpp:189:33: error: 'STh' was not declared in this scope
ans = min(eulertour[STh[x]].first, eulertour[STq[y]].first);
^
0_0_30275768_11747.cpp:189:58: error: 'STq' was not declared in this scope
ans = min(eulertour[STh[x]].first, eulertour[STq[y]].first);
^
0_0_30275768_11747.cpp: In member function 'int LCA::ver(int, int)':
0_0_30275768_11747.cpp:223:26: error: 'STh' was not declared in this scope
if(eulertour[STh[x]].first < eulertour[STq[y]].first)
^
0_0_30275768_11747.cpp:223:52: error: 'STq' was not declared in this scope
if(eulertour[STh[x]].first < eulertour[STq[y]].first)
^
0_0_30275768_11747.cpp:235:26: error: 'STh' was not declared in this scope
if(eulertour[STh[x]].first < eulertour[STq[y]].first)
^
0_0_30275768_11747.cpp:235:52: error: 'STq' was not declared in this scope
if(eulertour[STh[x]].first < eulertour[STq[y]].first)
^
0_0_30275768_11747.cpp: In member function 'void LCA::pri()':
0_0_30275768_11747.cpp:263:15: error: 'STlen' was not declared in this scope
cout<<STlen<<endl;
^
0_0_30275768_11747.cpp: In member function 'int LCA::ver1(int, int)':
0_0_30275768_11747.cpp:391:26: error: 'STh' was not declared in this scope
if(eulertour[STh[x]].first < eulertour[STq[y]].first)
^
0_0_30275768_11747.cpp:391:52: error: 'STq' was not declared in this scope
if(eulertour[STh[x]].first < eulertour[STq[y]].first)
^
0_0_30275768_11747.cpp:403:26: error: 'STh' was not declared in this scope
if(eulertour[STh[x]].first < eulertour[STq[y]].first)
^
0_0_30275768_11747.cpp:403:52: error: 'STq' was not declared in this scope
if(eulertour[STh[x]].first < eulertour[STq[y]].first)
^
|