摘要: 7-5 环形解密(简) 这个题直接就是取模向前移动和向后移动 #include <iostream> #include <algorithm> #include <cstdio> #include <cstring> #include <vector> #include <cstring> #inc 阅读全文
posted @ 2023-02-23 22:39 harper886 阅读(53) 评论(0) 推荐(0)
摘要: B. Pleasant Pairs 链接 B. Pleasant Pairs 我们通过控制i来枚举ai*t-j的方法来确定有多少个满足条件的结果.用一个res来记录最后有多少满足条件的结果就可以了 #include <iostream> #include <algorithm> #include < 阅读全文
posted @ 2023-02-23 22:19 harper886 阅读(23) 评论(0) 推荐(0)