摘要: A. Reverse a Substring 容易看出,只要符合递增顺序就符合$NO$,否则则可以找到一组,每次记录最大值比较即可。 B. Game with Telephone Numbers $Vasya$用尽所有轮次可以把几个$8$扔到最前面,只要这个数大于轮次,就说明$Petya$无法逆天改 阅读全文
posted @ 2019-08-05 18:35 DMoRanSky 阅读(153) 评论(0) 推荐(0) 编辑
摘要: A. Detective Book 模拟题,有一些细节需要注意。 cpp include include include include include using namespace std; typedef pair PII; typedef long long LL; const int N 阅读全文
posted @ 2019-08-05 12:10 DMoRanSky 阅读(199) 评论(0) 推荐(0) 编辑