
hdu多校联赛
文章平均质量分 73
涅槃重塑
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
hdu-多校联赛6301 Distinct Values
题目链接 Problem Description Chiaki has an array of n positive integers. You are told some facts about the array: for every two elements ai and aj in the subarray al..r (l≤i<j≤r), ai≠ajholds. Chiaki...原创 2018-07-28 21:27:28 · 180 阅读 · 0 评论 -
Matrix from Arrays
题目链接 题目大意: 给一个T,T组测试样例;再输入一个L,表示L个已给数据,由这L个数据经过公式构成一个无限二维矩阵 ; 再输入一个Q,表示Q个询问;接下来Q行是2个点的坐标x0,y0,x1,y1; 输出从(x0,y0)到(x1,y1)的矩阵内的数字和; 按照公式输入的顺序如下: 1 2 4 7 ... 3 5 8 ... ... ...原创 2018-08-03 16:23:40 · 216 阅读 · 0 评论 -
hdu-6335 Nothing is Impossible
题目链接 Problem Description m students, including Kazari, will take an exam tomorrow. The paper consists of exactly n problems, the i-th problem contains ai correct answers and bi incorrect answers, i...原创 2018-08-02 09:49:42 · 379 阅读 · 0 评论 -
HDU 2019多校联赛 1004题Vacation(HDU-6581) 思维题
6581 题目链接 题意: 有n+1辆车要过马路,信号灯一直为绿。每个车的长度为,距离停止线产长度,速度为。现在要求求出第0辆车(据停车线最远的)从开始到车头通过停止线经过的时间。每辆车可以无缝衔接。 思路: 既然可以无缝衔接,那么就让可以追上的汽车合成一个汽车,速度为前车的速度,计算整辆车(合并后的车尾)经过停止线的时间。无需考虑两车的间距,因为时间是相同的。只需找到最大的时间即可。 ...原创 2019-07-23 16:05:03 · 504 阅读 · 0 评论