摘要: http://codeforces.com/contest/425/problem/C 题意:两数列a[],b[],进行若干轮操作,每次操作花费e, 将a的一个前缀和b的一个前缀(两前缀的最后一个数字必须相同)删除,并得到虚拟1元,最后的一次操作是将剩下的a[],b[]全部清空,花费是之前把a[], 阅读全文
posted @ 2019-08-06 22:45 yccdu 阅读(301) 评论(0) 推荐(1) 编辑
摘要: Darth Vader and Tree CodeForces - 514E When Darth Vader gets bored, he sits down on the sofa, closes his eyes and thinks of an infinite rooted tree wh 阅读全文
posted @ 2019-08-06 18:12 yccdu 阅读(256) 评论(0) 推荐(1) 编辑