0_0_14105786_18589.cpp:11:1: error: expected initializer before 'int'
int anti_seq[N]; //anti记录第几个访问的是谁
^
0_0_14105786_18589.cpp: In function 'void DFS(int)':
0_0_14105786_18589.cpp:19:5: error: 'seq' was not declared in this scope
seq[x]=++num;
^
0_0_14105786_18589.cpp: In function 'int ins(int)':
0_0_14105786_18589.cpp:64:17: error: 'seq' was not declared in this scope
sett.insert(seq[u]);
^
0_0_14105786_18589.cpp:77:11: error: 'anti_seq' was not declared in this scope
x=anti_seq[*(++it)];
^
0_0_14105786_18589.cpp:83:11: error: 'anti_seq' was not declared in this scope
x=anti_seq[*(--it)];
^
0_0_14105786_18589.cpp:89:11: error: 'anti_seq' was not declared in this scope
x=anti_seq[ *(--it)];
^
0_0_14105786_18589.cpp: In function 'int del(int)':
0_0_14105786_18589.cpp:108:37: error: 'seq' was not declared in this scope
set<int>::iterator it=sett.find(seq[u]);
^
0_0_14105786_18589.cpp:112:11: error: 'anti_seq' was not declared in this scope
x=anti_seq[*(++it)];
^
0_0_14105786_18589.cpp:117:11: error: 'anti_seq' was not declared in this scope
x=anti_seq[*(--it)];
^
0_0_14105786_18589.cpp:122:11: error: 'anti_seq' was not declared in this scope
x=anti_seq[ *(--it)];
^
0_0_14105786_18589.cpp: In function 'int main()':
0_0_14105786_18589.cpp:140:16: error: 'seq' was not declared in this scope
memset(seq,0,sizeof(seq));
^
0_0_14105786_18589.cpp:141:16: error: 'anti_seq' was not declared in this scope
memset(anti_seq,0,sizeof(anti_seq));
^
|