随笔分类 -  codeforces 题目集

摘要:题目传送门 C. Masha and two friends time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Masha a 阅读全文
posted @ 2018-12-05 22:10 better46 阅读(253) 评论(0) 推荐(0)
摘要:题目网址:http://codeforces.com/contest/1015 1、D题 题意:给一个n,k,sn,k,s代表现在有nn个房子,你需要搬家kk次,搬家的总的距离为ss。每次搬家的距离定义为|x−y||x−y|(x,y为第几个房子),让你构造一个转移序列,满足正好为kk次,总距离为ss 阅读全文
posted @ 2018-08-06 00:51 better46 阅读(207) 评论(0) 推荐(0)