MSIS!
Problem Link: https://toph.co/p/msis Solution: #include<bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ex...
Problem Link: https://toph.co/p/msis Solution: #include<bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ex...
Problem Link: https://vjudge.net/problem/HDU-6534 Give you a sequence, ask multiple times, and each time let you answer the logarithm of th...
Problem Link: https://vjudge.net/problem/HDU-4638 Main Idea: Given a sequence of length n, each query gives an interval and asks how many c...
Problem Link: https://www.spoj.com/problems/CPAIR2/en/ Seeing that n <= 50000 must have the sensitivity of the Mo team. Discrete it, and...
Problem Link: https://vjudge.net/problem/CodeForces-1324D/origin SOLUTION: #include<bits/stdc++.h> #include <ext/pb_ds/assoc_conta...
Problem Link: https://vjudge.net/problem/HDU-3874 SOLUTION: #include<cstdio> #include<cstring> #include<algorithm> #inclu...
Problem Link: https://toph.co/p/msis Solution: #include<bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ex...