摘要: https://www.luogu.com.cn/problem/AT_arc001_2 题目描述 输入格式 无 输出格式 无 题意翻译 题目描述: 高桥君要调整空调的设定温度。现在的设定温度是A度,而他想调到B度。 空调遥控器按一次可以: 上调或下调1度 上调或下调5度 上调或下调10度 高桥君想 阅读全文
posted @ 2024-01-28 20:43 cn是大帅哥886 阅读(78) 评论(0) 推荐(0)
摘要: https://www.luogu.com.cn/problem/P1938 题目描述 Bessie is running out of money and is searching for jobs. Farmer John knows this and wants the cows to tra 阅读全文
posted @ 2024-01-28 19:08 cn是大帅哥886 阅读(63) 评论(0) 推荐(0)
摘要: https://www.luogu.com.cn/problem/P2888 题目描述 Farmer John wants the cows to prepare for the county jumping competition, so Bessie and the gang are pract 阅读全文
posted @ 2024-01-28 16:00 cn是大帅哥886 阅读(87) 评论(0) 推荐(0)
摘要: 题目描述 Bessie has two crisp red apples to deliver to two of her friends in the herd. Of course, she travels the C (1 <= C <= 200,000) cowpaths which are 阅读全文
posted @ 2024-01-28 10:14 cn是大帅哥886 阅读(22) 评论(0) 推荐(0)
摘要: 简化题意:1走到n,至少经过指定的p个点(x)的最短路。我们分解一下问题,1~x1~x2...~xp~n 分解为1~x1,x1~x2~...~xp,xp~n 1~x1是已知的,可以作为初始化条件,而后两个不知道,所以我们开数组,用两维表示 f["abcdef"]["f"]表示从1出发,拿完"abcd 阅读全文
posted @ 2024-01-28 08:11 cn是大帅哥886 阅读(29) 评论(0) 推荐(0)