声明 deque<int> d 访问/添加/删除 [] //随机访问类似数组 d.begin() / d.end() d.front() / d.back() d.push_back() d.push_front() d.pop_back() d.pop_front() 函数 d.clear()