上一页 1 ··· 3 4 5 6 7
摘要: 原题链接 https://codeforces.com/contest/1486/problem/B 题目 解题思路 这是个思维题, 算是货仓选址的变式, 想要到达各个点距离最小,我们的目标可以化为先求出分别到x y轴各点的最小值区间, x坐标轴上满足条件的点数乘以y坐标轴上满足条件的点数. 那么怎 阅读全文
posted @ 2021-02-20 12:21 la-la-wanf 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 传送门 有必要提醒自己一下, 先把题读利索了(手动捂脸) 题目 B. The Great Hero The great hero guards the country where Homer lives. The hero has attack power AA and initial health 阅读全文
posted @ 2021-02-08 12:05 la-la-wanf 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 2021-01-29 题目链接: Educational Codeforces Round 103 (Rated for Div. 2) 题目 A. K-divisible Sum You are given two integers nn and kk. You should create an 阅读全文
posted @ 2021-02-01 16:15 la-la-wanf 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://codeforces.com/contest/1475/problem/C 题意要求:需组成的2对,男的序号不能重,女的序号不能重 比如这例 输入: 行1--测试个数 行1` --男生个数p,女生个数q,成对数k 接下两行`--分别为这k对男女序号(上下为一对) 13 4 阅读全文
posted @ 2021-01-26 15:57 la-la-wanf 阅读(66) 评论(0) 推荐(1) 编辑
上一页 1 ··· 3 4 5 6 7