随笔分类 -  暴力

摘要:Rotate Columns (easy version) 题意: 每一列的数字能够进行循环位移,问每一行最大值的和最大是多少 思路: 数据量较小,暴力模拟出每一种情况,然后取最大值即可 一开始想用贪心的思路去做,每次取总体增量最大 然后发现有一种情况会导致错误 第一种: 6 7 6 7 6 7 第 阅读全文
posted @ 2020-04-15 20:18 当然是斗笠呀 阅读(216) 评论(0) 推荐(0)
摘要:Chladni Figure CodeForces - 1162D Inaka has a disc, the circumference of which is nn units. The circumference is equally divided by nn points numbered 阅读全文
posted @ 2019-05-09 19:41 当然是斗笠呀 阅读(478) 评论(0) 推荐(0)
摘要:B. Long Number time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output B. Long Number time limit 阅读全文
posted @ 2019-05-07 17:21 当然是斗笠呀 阅读(401) 评论(0) 推荐(0)