摘要: 【Codeforces】976E Well played!【题目大意】 给你n个行,每行一个hpi,dmgi" role="presentation">hpi,dmgihpi,dmgi,你有两种操作: 1.hpi=hpi∗2" ro... 阅读全文
posted @ 2018-05-01 20:24 XSamsara 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 【Codeforces】976C Nested Segments【题目大意】 给你n个数对(li,ri)" role="presentation">(li,ri)(li,ri),让你找到一个i,j,使li<=lj" role="presenta... 阅读全文
posted @ 2018-05-01 13:12 XSamsara 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 【Codeforces】976B Lara Croft and the New Game【题目大意】 给你一个n行m列的矩阵,先向下移动到第m层,然后向右移到头,向上走一格,向左移到头,再向上一格,向右到头(一直到(1,2)结束)。给你n,m,k(移... 阅读全文
posted @ 2018-05-01 13:06 XSamsara 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 【Codeforces】976A Minimum Binary Number【题目大意】 给你一个01串,你可执行两种操作,交换相邻的数字或合并相邻的1,问你最后最短的字符串。【题解】 没什么好说的,大水题,1可以合并,也没用限制操作次数,所以我们... 阅读全文
posted @ 2018-05-01 12:59 XSamsara 阅读(150) 评论(0) 推荐(0) 编辑