摘要: AtCoder Beginner Contest 228 A - On and Off 思路分析: 如果s < t说明是顺序的,所以只要x小于t并且大于等于s即可。 如果s > t说明是逆序的,所以只要x >= s或者x < t即可。 代码如下: #include <bits/stdc++.h> u 阅读全文
posted @ 2021-11-21 15:34 zhy-cx 阅读(169) 评论(0) 推荐(0)