原创 c++簡單實現SLR1文法分析器(自動求項目集、建表、分析)

                  規定終結符用小寫字母開頭和後面接若干“`”表示例如a,b,i,i`,i``表示不同的終結符。非終結符用大寫字母和後面接若干“`”表示非終結符例如A,B,T`,T``表示不同的非終結符。用“&”

原创 J. The Parade

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

原创 C. Save the Nature

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

原创 A. Berstagram

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

原创 B2. Character Swap (Hard Version)

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

原创 H. Twin Buildings

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

原创 C. The Football Season

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

原创 Grow The Tree CodeForces - 1248B

https://vjudge.net/problem/CodeForces-1248B #include <bits/stdc++.h> //#include <cmath> //#include <iostream> //#inclu

原创 B. Alice and the List of Presents

http://codeforces.com/contest/1236/problem/B  #include <bits/stdc++.h> //#include <cmath> //#include <iostream> //#inc

原创 A. Balanced Rating Changes

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

原创 Salary Changing CodeForces - 1251D

https://vjudge.net/problem/CodeForces-1251D #include <bits/stdc++.h> //#include <cmath> //#include <iostream> //#inclu

原创 C. Ivan the Fool and the Probability Theory

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

原创 D. Paint the Tree

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

原创 模擬二級文件系統(C++面向對象實現)

  #include <iostream> #include <vector> #include <sstream> #define pb push_back using namespace std; #include "HEL

原创 D. Shichikuji and Power Grid

http://codeforces.com/contest/1245/problem/D #include <bits/stdc++.h> //#include <cmath> //#include <iostream> //#incl