2015/10/27

UVa210 Concurrency Simulator(并行程序模拟) deque双端队列

Concurrency Simulator(并行程序模拟)deque双端队列 deque 双端队列 支持快速随机访问。在 头尾位置 插入/删除速度很快。deque是一种更为复杂的数据结构。与string和vector类似,deque支持快速的随机访问。与string…

  • ACM-ICPC题解
  • 2015/10/27
  • ProLightsfx
  • 308
  • 2015/10/17

    UVa12100 Printer Queue (打印队列)

                      12100  Printer Queue 双端队列(deque)  My Solution 双端队列(deque) #include <iostream> #include <deque> using namespace std; bool compar(const deque<int> …

  • ACM-ICPC题解
  • 2015/10/17
  • ProLightsfx
  • 298
  • 2015/10/3

    UVa253 Cube painting(骰子涂色)(27行,比较简洁的样子)

    算法竞赛入门宝典(第2版)习题4-4骰子涂色(Cube painting,UVa253) (笔者实现27行,比较简洁的样子)    Cube painting  We have a machine for painting cubes. It is supplied with three different …

  • ACM-ICPC题解
  • 2015/10/3
  • ProLightsfx
  • 330