- 博客(4)
- 收藏
- 关注
原创 模拟维护多个队列 Easy的队列
1239: Easy的队列 时间限制: 2 Sec 内存限制: 128 MB 题目描述 Easy的学生的《数据结构》考试挂掉了,他求着Easy再给他一次机会,Easy出了这么一道题,如果他的学生做出来就给这个学生一次重新考试的机会,题目是这样的: 维护一个名为队列的数据结构,支持以下四种操作: 1. ENQUEUE x 将值为x的元素放入队列的尾部 2. DEQUEUE ...
2018-07-31 12:36:10 240
原创 [最大生成树 kruskal&&优先队列prim] Save your cats Aizu - 2224&& Bad Cowtractors POJ - 2377
Nicholas Y. Alford was a cat lover. He had a garden in a village and kept many cats in his garden. The cats were so cute that people in the village also loved them. One day, an evil witch visited th...
2018-07-27 16:04:42 243
原创 [逆元]The Wall (medium) CodeForces - 690D2 && Sum HDU - 4704
费马小定理 题一 #include <cstdio> #include <iostream> #include <algorithm> #include <cstring> using namespace std; typedef long long ll; co
2018-07-24 09:27:58 137
原创 [DFS找环]New Reform CodeForces - 659E
Berland has n cities connected by m bidirectional roads. No road connects a city to itself, and each pair of cities is connected by no more than one road. It is not guaranteed that you can get from an...
2018-07-23 09:45:05 247
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人