- 博客(22)
- 收藏
- 关注
原创 2021-2022年小学期 程序设计开发实践 随堂笔记
2021-2022小学期 程序设计开发实践随堂笔记。作者:筱柒_Littleseven
2022-08-08 18:50:46
813
3
原创 POJ1330 Nearest Common Ancestors
POJ1330筱柒LittlesevenQQ:3534947775题目链接#include <iostream>#include <cstdio>#include <algorithm>#include <cstring>using namespace std;const int MAXN = 10010;int tot...
2019-07-27 16:55:16
148
原创 POJ1144 Network
POJ1144筱柒LittlesevenQQ:3534947775题目链接#include <iostream>#include <cstdio>#include <algorithm>#include <cstring>using namespace std;const int MAXN=1100;int n,cnt...
2019-07-27 09:56:19
149
原创 VIJOS-P1626 桐桐的糖果计划
VIJOS 1325筱柒LittlesevenQQ:3534947775题目链接#include <cstdio>#include <algorithm>#include <iostream>using namespace std;const int maxn = 10010;const int maxm = 100010;int n...
2019-07-26 16:55:32
200
原创 洛谷P1262 间谍网络
洛谷P1262筱柒LittlesevenQQ:3534947775题目链接#include <iostream>#include <cstdio>#include <algorithm>using namespace std;const int maxn = 3030;const int maxm = 8080;int n,p,r,a...
2019-07-26 10:30:43
162
原创 洛谷P2341 [HAOI2006]受欢迎的牛
洛谷P2341筱柒LittlesevenQQ:3534947775题目链接#include <iostream>#include <cstdio>#include <algorithm>using namespace std;int n,tot,to[10001],nex[10001],head[110];int tar_num,top,c...
2019-07-26 08:46:29
95
原创 洛谷P2746 [USACO5.3]校园网Network of Schools
洛谷P2746筱柒LittlesevenQQ:3534947775题目链接#include <iostream>#include <cstdio>#include <algorithm>using namespace std;int n,tot,to[10001],nex[10001],head[110];int tar_num,top,c...
2019-07-25 15:08:41
210
原创 VIJOS-P1626 爱在心中
VIJOS P1626筱柒LittlesevenQQ:3534947775题目链接#include <iostream>#include <cstdio>#include <algorithm>using namespace std;const int maxn=1100;const int maxm=11000;int n,m; /...
2019-07-25 13:17:19
192
原创 洛谷P1593 因子和
洛谷P1593筱柒LittlesevenQQ:3534947775题目链接#include <cstdio>#include <cstring>#include <iostream>#include <algorithm>using namespace std;typedef long long ll;const ll mod...
2019-07-24 16:40:43
157
原创 洛谷P2422 良好的感觉
洛谷P2422筱柒LittlesevenQQ:3534947775题目链接#include <iostream>#include <cstdio>#include <algorithm>#define maxn 1000100#define ll long longusing namespace std;int n,q[maxn],tai...
2019-07-23 16:20:26
170
原创 洛谷P2032 扫描
洛谷P2032筱柒LittlesevenQQ:3534947775题目链接#include <iostream>#include <cstdio>#include <algorithm>#define maxn 2000200using namespace std;int n,k,a[maxn],q[maxn],maxx[maxn];in...
2019-07-23 14:35:05
221
原创 洛谷P1440 求m区间内的最小值
洛谷P1440筱柒LittlesevenQQ:3534947775题目链接#include <iostream>#include <cstdio>#include <algorithm>#include <cstring>#define maxn 2000200using namespace std;int n,k,ans,a...
2019-07-23 13:38:17
203
原创 洛谷 P2947 [USACO09MAR]向右看齐Look Up
洛谷P2947筱柒LittlesevenQQ:3534947775题目链接#include <iostream>#include <cstdio>#include <algorithm>#define maxn 100000#define LL long longusing namespace std;int n,q[maxn],ans[...
2019-07-23 11:00:39
299
原创 POJ3250 Bad Hair Day
POJ3250筱柒LittlesevenQQ:3534947775题目链接#include <iostream>#include <cstdio>#include <algorithm>#define inf 0x7f7f7f7f#define maxn 100000#define LL long longusing namespace ...
2019-07-23 10:40:00
119
原创 POJ2823 Sliding Window
POJ2823筱柒LittlesevenQQ:3534947775题目链接#include <iostream>#include <cstdio>#include <algorithm>#include <cstring>#define maxn 1000100using namespace std;int n,k,head,...
2019-07-23 09:58:49
83
原创 洛谷P1886 滑动窗口
洛谷P1886筱柒LittlesevenQQ:3534947775题目链接#include <iostream>#include <cstdio>#include <algorithm>#include <cstring>#define maxn 1000100using namespace std;int n,k,head,...
2019-07-23 09:14:49
103
原创 洛谷P3065 [USACO12DEC]第一!First!
洛谷P3065筱柒LittlesevenQQ:3534947775题目链接#include <queue>#include <vector>#include <cstdio>#include <cstring>#include <iostream>#include <algorithm>#define ...
2019-07-23 08:49:19
190
原创 洛谷P2292 [HNOI2004]L语言
洛谷P2292筱柒LittlesevenQQ:3534947775题目链接#include <iostream>#include <cstdio>#include <algorithm>#include <cstring>using namespace std;int dp[10000000],tot,n,m;char c[2...
2019-07-02 19:27:14
165
原创 POJ2001 Shortest Prefixes
POJ2001 Shortest Prefixes筱柒LittlesevenQQ:3534947775题目链接#include <iostream>#include <cstdio>#include <algorithm>#include <cstring>#define MAXN 300001using namespace s...
2019-07-02 19:14:29
107
原创 洛谷P5149 会议座位
洛谷P5149筱柒LittlesevenQQ:3534947775题目链接#include <iostream>#include <cstdio>#include <algorithm>#include <cstring>#define N 500100#define ll long longusing namespace s...
2019-07-02 18:56:40
252
原创 POJ2418 Hardwood Species
POJ2418筱柒LittlesevenQQ:3534947775题目链接#include <iostream>#include <cstdio>#include <algorithm>#include <cstring>#define MAXN 300030using namespace std;#define long l...
2019-07-01 18:21:57
160
原创 洛谷P2580 于是他错误的点名开始了
洛谷P2580筱柒LittlesevenQQ:3534947775题目链接#include <iostream>#include <cstdio>#include <algorithm>#include <cstring>#define MAXN 500100using namespace std;int tot=0,n,m;...
2019-07-01 18:11:12
215
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人