- 博客(691)
- 收藏
- 关注
原创 c++简单实现SLR1文法分析器(自动求项目集、建表、分析)
#include <bits/stdc++.h>using namespace std;#include "definition.h"#include "Check.h"#include "Init.h"#include "getFirst.h"#include "getFollow.h"#include "Display.h"#include "getI.h"#include ...
2020-06-17 15:58:02
3964
10
原创 模拟二级文件系统(C++面向对象实现)
#include <iostream>#include <vector>#include <sstream>#define pb push_backusing namespace std;#include "HELP.h"#include "_FILE.h"#include "UFD.h"#include "USER.h"#i...
2019-12-27 18:45:44
1354
原创 页面分配
#include <iostream>#include <ctime>#include <random>#include <cmath>using namespace std;#define NOT -1#define INF 100000const int N = 320;const int M = 32;const int...
2019-11-24 12:09:21
265
原创 银行家算法
#include <iostream>#include <vector>using namespace std;#define N 1000#define M 1000int Available[M];int Max[N][M];int Allocation[N][M];int Need[N][M];int Work[N];bool Finish...
2019-11-13 16:28:15
648
原创 D. 0-1 MST
http://codeforces.com/contest/1243/problem/D#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define ls...
2019-11-08 10:59:56
154
原创 C. Tile Painting
http://codeforces.com/contest/1243/problem/C#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define ls...
2019-11-08 10:08:11
269
原创 B2. Character Swap (Hard Version)
http://codeforces.com/contest/1243/problem/B2#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define ...
2019-11-08 09:39:19
200
原创 K. Addition Robot
http://codeforces.com/contest/1252/problem/K#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define l...
2019-11-07 23:12:03
253
原创 Character Swap (Easy Version)
https://vjudge.net/problem/CodeForces-1243B1#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define l...
2019-11-07 15:24:26
703
原创 H. Twin Buildings
http://codeforces.com/contest/1252/problem/H#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define ls...
2019-11-07 12:34:00
194
原创 J. The Parade
http://codeforces.com/contest/1250/problem/J#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define ls...
2019-11-06 23:03:03
249
原创 A. Berstagram
http://codeforces.com/contest/1250/problem/A#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define ls...
2019-11-06 21:29:03
359
原创 L. Divide The Students
http://codeforces.com/contest/1250/problem/L#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define l...
2019-11-05 23:44:46
306
原创 H. Happy Birthday
http://codeforces.com/contest/1250/problem/H#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define l...
2019-11-05 23:17:49
183
原创 E. Yet Another Division Into Teams
http://codeforces.com/contest/1256/problem/E#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define ls...
2019-11-05 22:35:56
169
原创 E. Paint the Tree
http://codeforces.com/contest/1241/problem/E#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define ls...
2019-11-05 17:15:43
152
原创 D. Sequence Sorting
http://codeforces.com/contest/1241/problem/D#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define ls...
2019-11-05 16:30:48
259
原创 C. Platforms Jumping
http://codeforces.com/contest/1256/problem/C#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define ls...
2019-11-05 15:07:34
365
原创 C. Save the Nature
http://codeforces.com/contest/1241/problem/C#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define l...
2019-11-04 20:51:51
343
原创 D. AB-string
http://codeforces.com/contest/1238/problem/D#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define ls...
2019-11-04 19:43:08
297
原创 G. Running in Pairs
http://codeforces.com/contest/1244/problem/G#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define ls...
2019-11-04 11:01:11
132
原创 F. Chips
http://codeforces.com/contest/1244/problem/F#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define l...
2019-11-04 10:22:53
151
原创 E. Minimizing Difference
http://codeforces.com/contest/1244/problem/E#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define l...
2019-11-03 23:25:59
181
原创 D. Paint the Tree
http://codeforces.com/contest/1244/problem/D#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define ls...
2019-11-03 20:59:38
182
原创 C. The Football Season
http://codeforces.com/contest/1244/problem/C#include <bits/stdc++.h>//#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define ls...
2019-11-03 18:04:26
410
原创 D2. Too Many Segments (hard version)
http://codeforces.com/contest/1249/problem/D2#include <bits/stdc++.h>#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define lso...
2019-11-03 15:45:30
178
原创 E. By Elevator or Stairs?
http://codeforces.com/contest/1249/problem/E#include <bits/stdc++.h>#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define lson...
2019-11-03 12:40:59
124
原创 E. Balanced Binary Search Trees
http://codeforces.com/contest/1237/problem/E#include <bits/stdc++.h>#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define lson...
2019-11-03 09:28:25
260
原创 D. Balanced Playlist
http://codeforces.com/contest/1237/problem/D#include <bits/stdc++.h>#include <queue>//#include <cmath>//#include <iostream>//#include <unordered_map>#define lso...
2019-11-02 19:15:25
188
原创 D. Shichikuji and Power Grid
http://codeforces.com/contest/1245/problem/D#include <bits/stdc++.h>//#include <cmath>//#include <iostream>//#include <unordered_map>#define lowbit(x) ((x)&(-x))#d...
2019-11-02 16:58:12
312
原创 C2. Balanced Removals (Harder)
http://codeforces.com/contest/1237/problem/C2#include <bits/stdc++.h>//#include <cmath>//#include <iostream>//#include <unordered_map> #define lowbit(x) ((x)&(-x))...
2019-11-02 16:20:48
148
原创 C1. Balanced Removals (Easier)
http://codeforces.com/contest/1237/problem/C1#include <bits/stdc++.h>//#include <cmath>//#include <iostream>//#include <unordered_map>#define lowbit(x) ((x)&(-x))...
2019-11-02 11:55:35
166
原创 B. Balanced Tunnel
http://codeforces.com/contest/1237/problem/B#include <bits/stdc++.h>//#include <cmath>//#include <iostream>//#include <unordered_map>#define lowbit(x) ((x)&(-x))#d...
2019-11-02 10:31:33
140
原创 A. Balanced Rating Changes
http://codeforces.com/contest/1237/problem/A#include <bits/stdc++.h>//#include <cmath>//#include <iostream>//#include <unordered_map>#define mem(x,y) memset(x,y,sizeof(...
2019-11-02 10:15:31
140
原创 D. Alice and the Doll
http://codeforces.com/contest/1236/problem/D#include <bits/stdc++.h>//#include <cmath>//#include <iostream>//#include <unordered_map>#define mem(x,y) memset(x,y,sizeof(...
2019-11-02 09:47:58
279
原创 C. Labs
http://codeforces.com/contest/1236/problem/C#include <bits/stdc++.h>//#include <cmath>//#include <iostream>//#include <unordered_map>#define mem(x,y) memset(x,y,sizeof(...
2019-11-01 20:48:02
196
原创 B. Alice and the List of Presents
http://codeforces.com/contest/1236/problem/B#include <bits/stdc++.h>//#include <cmath>//#include <iostream>//#include <unordered_map>#define mem(x,y) memset(x,y,sizeof...
2019-11-01 20:09:34
200
原创 D1. The World Is Just a Programming Task (Easy Version)
http://codeforces.com/contest/1248/problem/D1#include <bits/stdc++.h>//#include <cmath>//#include <iostream>//#include <unordered_map>#define mem(x,y) memset(x,y,sizeo...
2019-11-01 17:19:28
348
原创 C. Ivan the Fool and the Probability Theory
http://codeforces.com/contest/1248/problem/C#include <bits/stdc++.h>//#include <cmath>//#include <iostream>//#include <unordered_map>#define mem(x,y) memset(x,y,size...
2019-11-01 12:28:53
208
原创 Grow The Tree CodeForces - 1248B
https://vjudge.net/problem/CodeForces-1248B#include <bits/stdc++.h>//#include <cmath>//#include <iostream>//#include <unordered_map>#define mem(x,y) memset(x,y,sizeof(x...
2019-11-01 11:09:23
459
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人