会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yijiull
We will be giants.
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
26
27
28
29
30
31
32
33
34
···
50
下一页
2017年6月2日
hiho1080(多标记线段树)
摘要: 题目链接:hiho1080 直接看代码吧,两个标记分开处理 1 #include<bits/stdc++.h> 2 using namespace std; 3 #define ll long long 4 #define mod 1000000007 5 #define pi (4*atan(1.
阅读全文
posted @ 2017-06-02 15:06 yijiull
阅读(163)
评论(0)
推荐(0)
2017年5月29日
{容斥原理}
摘要: 题目链接:http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1284 比较基础练一下。 1 #include <cstdio> 2 #include <cstring> 3 #include <iostream> 4 #inc
阅读全文
posted @ 2017-05-29 23:47 yijiull
阅读(107)
评论(0)
推荐(0)
2017年5月27日
{dp入门}
摘要: 之前一直比较恐惧dp的题,暑假之前好好从头补一下。 题目链接:HihoCoder - 1037 数字三角形 dp[i][j]表示到第i层第j个房间时累计收集到的最大值,从上到下记忆化搜索即可 状态转移:dp[i][j]=max(dp[i-1][j],dp[i-1][j-1])+m[i][j]; 1
阅读全文
posted @ 2017-05-27 17:52 yijiull
阅读(153)
评论(0)
推荐(0)
2017年5月23日
{AC自动机}
摘要: 开始搞ac自动机啦 之前看着费劲的现在轻易就理解了,剩下的就是多做题了 加油!!! 先来个模板题 题目链接:HihoCoder - 1036 1 #include <cstdio> 2 #include <cstring> 3 const int maxn=1000010; 4 5 int n; 6
阅读全文
posted @ 2017-05-23 21:54 yijiull
阅读(139)
评论(0)
推荐(0)
CF807
摘要: CodeForces - 807A 这就没什么说的了,好好读题就行。 1 #include<cstring> 2 #include<cstdio> 3 #include<bits/stdc++.h> 4 using namespace std; 5 6 int main() 7 { 8 int n;
阅读全文
posted @ 2017-05-23 17:40 yijiull
阅读(231)
评论(0)
推荐(0)
2017年5月22日
Trie树
摘要: 两个星期没有刷题了,,从今天开始吧,先从hiho开始刷,巩固一下之前学的。。 Trie树专题。。 题目链接:HDU - 1075 题意:给出火星文单词对应的英文单词,输入一段火星文,输出英文。 用trie树做,节点挂上对应的中文单词。 也可以用map做。 1 #include <cstdio> 2
阅读全文
posted @ 2017-05-22 23:37 yijiull
阅读(156)
评论(0)
推荐(0)
2017年5月17日
忽然想写
该文被密码保护。
阅读全文
posted @ 2017-05-17 00:48 yijiull
阅读(13)
评论(0)
推荐(0)
2017年5月11日
杂记
摘要: 有空再来整理: QMessageBox 状态栏: 容器迭代方式:
阅读全文
posted @ 2017-05-11 23:53 yijiull
阅读(77)
评论(0)
推荐(0)
2017年5月7日
17省赛总结
该文被密码保护。
阅读全文
posted @ 2017-05-07 23:15 yijiull
阅读(8)
评论(0)
推荐(0)
2017年5月6日
poj2155
摘要: 题目连接:POJ - 2155 二维树状数组
阅读全文
posted @ 2017-05-06 21:53 yijiull
阅读(107)
评论(0)
推荐(0)
上一页
1
···
26
27
28
29
30
31
32
33
34
···
50
下一页
公告