摘要:
1 /**\ 2 https://codeforces.com/contest/1167/problem/B 3 每日询问相邻的,能知道5个,最后一个也可以推出来 4 直接dfs暴力匹配就行, 5 询问的时候把结果存下来 6 \**/ 7 #include <bits/stdc++.h> 8 usi 阅读全文
摘要:
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 阅读全文