原创 C1. Balanced Removals (Easier)

http://codeforces.com/contest/1237/problem/C1  #include <bits/stdc++.h> //#include <cmath> //#include <iostream> //#in

原创 E. By Elevator or Stairs?

http://codeforces.com/contest/1249/problem/E #include <bits/stdc++.h> #include <queue> //#include <cmath> //#include <

原创 E. Paint the Tree

http://codeforces.com/contest/1241/problem/E #include <bits/stdc++.h> //#include <queue> //#include <cmath> //#include

原创 K. Addition Robot

http://codeforces.com/contest/1252/problem/K  #include <bits/stdc++.h> //#include <queue> //#include <cmath> //#includ

原创 C. Platforms Jumping

http://codeforces.com/contest/1256/problem/C #include <bits/stdc++.h> //#include <queue> //#include <cmath> //#include

原创 D. Sequence Sorting

http://codeforces.com/contest/1241/problem/D #include <bits/stdc++.h> //#include <queue> //#include <cmath> //#include

原创 E. Yet Another Division Into Teams

http://codeforces.com/contest/1256/problem/E #include <bits/stdc++.h> //#include <queue> //#include <cmath> //#include

原创 D2. Too Many Segments (hard version)

http://codeforces.com/contest/1249/problem/D2 #include <bits/stdc++.h> #include <queue> //#include <cmath> //#include

原创 F. Chips

http://codeforces.com/contest/1244/problem/F  #include <bits/stdc++.h> //#include <queue> //#include <cmath> //#includ

原创 L. Divide The Students

 http://codeforces.com/contest/1250/problem/L #include <bits/stdc++.h> //#include <queue> //#include <cmath> //#includ

原创 C. Tile Painting

http://codeforces.com/contest/1243/problem/C #include <bits/stdc++.h> //#include <queue> //#include <cmath> //#include

原创 D. 0-1 MST

http://codeforces.com/contest/1243/problem/D #include <bits/stdc++.h> //#include <queue> //#include <cmath> //#include

原创 Character Swap (Easy Version)

 https://vjudge.net/problem/CodeForces-1243B1 #include <bits/stdc++.h> //#include <queue> //#include <cmath> //#includ

原创 H. Happy Birthday

http://codeforces.com/contest/1250/problem/H  #include <bits/stdc++.h> //#include <queue> //#include <cmath> //#includ

原创 頁面分配

#include <iostream> #include <ctime> #include <random> #include <cmath> using namespace std; #define NOT -1 #define I