未理解待补
sega_handsome
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Codeforces Round #225 (Div. 1) B 模拟:
题目:http://codeforces.com/contest/383/problem/B参考:http://www.xuebuyuan.com/2068138.html384D - ВулканыOur first observation is that if there is a path from (1, 1) to (N, N), then the length of path is 2转载 2017-11-29 14:56:18 · 242 阅读 · 0 评论 -
cf450 BCDE(待补)
参考:https://www.cnblogs.com/wujiechao/p/8026872.html D题不知道为什么是对于每一个因素。。。待补。。#include #define mem(a, i) memset(a, i, sizeof(a))using namespace std;typedef long long LL;const LL MOD = 1e9 + 7;int转载 2017-12-13 14:01:51 · 660 阅读 · 0 评论 -
Codeforces Round #312 (Div. 2) E. A Simple Task 线段树(未敲)
E. A Simple Task 题目连接:http://www.codeforces.com/contest/558/problem/E DescriptionThis task is very simple. Given a string S of length n and q queries each query is on the format i j k which means sor转载 2017-12-02 16:26:08 · 372 阅读 · 0 评论 -
CodeForces 472 D ,E,F (MST,构造,线性代数)(待补)
官方题解:http://codeforces.com/blog/entry/14028 E题:http://codeforces.com/contest/472/problem/E F题:http://codeforces.com/contest/472/problem/FThere is an easy way to obtain a new task from an old one call转载 2017-12-02 15:46:05 · 449 阅读 · 0 评论 -
模板: (置顶)
Isap 的邻接表模板(冬季赛C题)struct node{ int to,cap,rev;};const int MAXN=0x3f3f3f3f;vector<node>edge[1100000];queue<int>que;int level[1100000],iter[1100000];int tot;void add_edge(int u,int v,int f){原创 2017-12-01 11:58:05 · 378 阅读 · 0 评论
分享