随笔分类 -  杂项-思维

摘要:题目链接:https://atcoder.jp/contests/agc030/tasks/agc030_b 题意: 在一个有 L 个单位长度的圆上有 n 个点, 小明位于 0 位置的人要按照步骤把 n 个点走完。 圆的单位下标为[0, L-1],每个点有一个位置x[i] 。 步骤: 1、如果所有的 阅读全文
posted @ 2019-03-10 19:31 Acerkoo 阅读(159) 评论(0) 推荐(0)
摘要:There's a beach in the first quadrant. And from time to time, there are sea waves. A wave ( xx , yy ) means the wave is a rectangle whose vertexes are 阅读全文
posted @ 2018-09-10 20:08 Acerkoo 阅读(161) 评论(0) 推荐(0)
摘要:B. Micro-Worldtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have a Petri d... 阅读全文
posted @ 2018-06-16 22:04 Acerkoo 阅读(261) 评论(0) 推荐(0)
摘要:问题 I: Sequence时间限制: 1 Sec 内存限制: 128 MB提交: 25 解决: 15[提交][状态][讨论版][命题人:admin]题目描述You are given an integer sequence of length N. The i-... 阅读全文
posted @ 2018-06-09 22:10 Acerkoo 阅读(273) 评论(0) 推荐(0)
摘要:6468: Snuke's Coloring时间限制: 2 Sec 内存限制: 128 MB提交: 50 解决: 22[提交][状态][讨论版][命题人:admin]题目描述We have a grid with H rows and W columns. At ... 阅读全文
posted @ 2018-06-03 16:03 Acerkoo 阅读(158) 评论(0) 推荐(0)
摘要:6463: Tak and Hotels II时间限制: 1 Sec 内存限制: 128 MB提交: 95 解决: 29[提交][状态][讨论版][命题人:admin]题目描述N hotels are located on a straight line. The... 阅读全文
posted @ 2018-06-03 15:05 Acerkoo 阅读(202) 评论(0) 推荐(0)
摘要:C. Three displaystime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt is the middle... 阅读全文
posted @ 2018-05-31 10:08 Acerkoo 阅读(158) 评论(0) 推荐(0)
摘要:C. Useful Decompositiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputRamesses k... 阅读全文
posted @ 2018-05-30 17:36 Acerkoo 阅读(234) 评论(0) 推荐(0)
摘要:链接:https://www.nowcoder.com/acm/contest/126/A 来源:牛客网时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 题目描述 Tian... 阅读全文
posted @ 2018-05-26 17:06 Acerkoo 阅读(201) 评论(0) 推荐(0)