摘要: 声明:有些网友有可能在CSDN博客上看到过相同的文章,因为本人有两个账号。。。请不要误会,均为原创 这个程序功能强大哦~~ #include <bits/stdc++.h>#include <windows.h>#include <winbase.h>#include <wtypes.h>#incl 阅读全文
posted @ 2017-01-23 21:55 FFjet 阅读(1474) 评论(1) 推荐(1) 编辑
摘要: [USACO]Your Ride Is Here It is a well-known fact that behind every good comet is a UFO. These UFOs often come to collect loyal supporters from here on 阅读全文
posted @ 2017-01-23 21:51 FFjet 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 这是Treap的模板程序,支持Left/Right Rotate,Find the maxnum/minnum,Find the predecessor/successor of a node,Add/Delete nodes 等绝大多数功能(不包含类似于”查找排名第k的元素”这样奇怪的东西的代码) 阅读全文
posted @ 2017-01-23 21:50 FFjet 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 售票系统 输入文件:railway.in 输出文件:railway.out 时间限制:1 s 内存限制:128 MB 【问题描述】 某次列车途经C个城市,城市编号依次为1到C,列车上共有S个座位,铁路局规定售出的车票只能是坐票, 即车上所有的旅客都有座。售票系统是由计算机执行的,每一个售票申请包含三 阅读全文
posted @ 2017-01-23 21:47 FFjet 阅读(297) 评论(0) 推荐(0) 编辑