0_0_38575422_952.cpp:13:1: error: 'vector' does not name a type; did you mean 'perror'?
vector<P>block;
^~~~~~
perror
0_0_38575422_952.cpp: In function 'int find(int)':
0_0_38575422_952.cpp:72:12: error: 'block' was not declared in this scope
int l=0,r=block.size()-1;
^~~~~
0_0_38575422_952.cpp: In function 'void init(int)':
0_0_38575422_952.cpp:84:2: error: 'block' was not declared in this scope
block.clear();
^~~~~
0_0_38575422_952.cpp: In function 'int main()':
0_0_38575422_952.cpp:105:6: error: 'block' was not declared in this scope
block.insert(upper_bound(block.begin(),block.end(),P(start,start+len-1)),P(start,start+len-1));//很重要的操作
^~~~~
0_0_38575422_952.cpp:116:36: error: 'block' was not declared in this scope
printf("Free from %d to %d\n",block[pos].first,block[pos].second);
^~~~~
0_0_38575422_952.cpp:125:11: error: 'block' was not declared in this scope
if(block.size()<pos)puts("Reject Get");
^~~~~
0_0_38575422_952.cpp:132:5: error: 'block' was not declared in this scope
block.clear();
^~~~~
|