摘要: Description osu 是一款群众喜闻乐见的休闲软件。 我们可以把osu的规则简化与改编成以下的样子: 一共有n次操作,每次操作只有成功与失败之分,成功对应1,失败对应0,n次操作对应为1个长度为n的01串。在这个串中连续的 X个1可以贡献X^3 的分数,这x个1不能被其他连续的1所包含(也 阅读全文
posted @ 2017-05-29 14:59 Zars19 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Description You're playing a game called Osu! Here's a simplified version of it. There are n clicks in a game. For each click there are two outcomes: 阅读全文
posted @ 2017-05-29 14:27 Zars19 阅读(434) 评论(0) 推荐(0) 编辑
摘要: Description Pashmak's homework is a problem about graphs. Although he always tries to do his homework completely, he can't solve this problem. As you 阅读全文
posted @ 2017-05-29 12:48 Zars19 阅读(198) 评论(0) 推荐(0) 编辑
摘要: Description The Bad Luck Island is inhabited by three kinds of species: r rocks, s scissors and p papers. At some moments of time two random individua 阅读全文
posted @ 2017-05-29 01:55 Zars19 阅读(164) 评论(0) 推荐(0) 编辑