摘要: [题目](https://codeforces.ml/problemset/problem/1256/C) 题意:有一条宽为n个河流,小丁在0号位置,要前往n+1位置,有m个木板在河流上方,给出长度ai,木板可以任意摆放但木板间的相对位置不能改变。 小丁每次可以跳跃的范围为0-d,问能否在不落水的情 阅读全文
posted @ 2019-11-08 21:46 无名菜鸟1 阅读(228) 评论(0) 推荐(0) 编辑
摘要: CodeForces - 1154F There are n shovels in the nearby shop. The i-th shovel costs ai bourles. Misha has to buy exactly k shovels. Each shovel can be bo 阅读全文
posted @ 2019-11-08 16:35 无名菜鸟1 阅读(338) 评论(0) 推荐(0) 编辑
摘要: CodeForces - 1154G 题意:求最小的lcm(a,b)的下标; #include <bits/stdc++.h> #include <cstdio> #include <cstring> #include <cmath> #include <algorithm> #include <i 阅读全文
posted @ 2019-11-08 16:14 无名菜鸟1 阅读(625) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/problemset/problem/1154/E E. Two Teams time limit per test 2 seconds memory limit per test 256 megabytes input standard input ou 阅读全文
posted @ 2019-11-08 11:16 无名菜鸟1 阅读(190) 评论(0) 推荐(0) 编辑