摘要: 1 /**\ 2 https://codeforces.com/contest/1167/problem/B 3 每日询问相邻的,能知道5个,最后一个也可以推出来 4 直接dfs暴力匹配就行, 5 询问的时候把结果存下来 6 \**/ 7 #include <bits/stdc++.h> 8 usi 阅读全文
posted @ 2022-03-22 14:40 std&ice 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 1 /**\ 2 https://codeforces.com/contest/1480/problem/C 3 二分不断维护一个区间 4 使得a[l - 1] > a[l], a[r] < a[r + 1] 5 \**/ 6 #include <bits/stdc++.h> 7 using nam 阅读全文
posted @ 2022-03-22 14:08 std&ice 阅读(90) 评论(0) 推荐(0) 编辑