会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
bin_gege 's Blog
已退役~
首页
联系
订阅
管理
上一页
1
···
44
45
46
47
48
2016年5月1日
hdu_4046_Panda(树状数组)
摘要: 题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=4046 题意:一大堆篇幅介绍,跳过直奔主题,让你寻找给定区间的“wbw”的个数。 题解:直接上树状数组,改变字符后对应改变3个值就行,注意的是询问 [l,r],应该对应输出的是[l+1,r]。因为sum[
阅读全文
posted @ 2016-05-01 18:07 bin_gege
阅读(100)
评论(0)
推荐(0)
2016年4月30日
hdu_5676_ztr loves lucky numbers
摘要: 题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=5676 在这%一下安神,用了我没见过的黑科技next_permutation,至少我是今天才知道的 1 #include<cstdio> 2 #include<cstring> 3 #include<cm
阅读全文
posted @ 2016-04-30 23:25 bin_gege
阅读(141)
评论(0)
推荐(0)
hdu_2608_0 or 1_数论
摘要: 题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=2608 反正我是没找出这个规律的,规律参考的别人的! 1 #include<cstdio> 2 #include<cmath> 3 int main(){ 4 int t,n; 5 scanf("%d",
阅读全文
posted @ 2016-04-30 16:59 bin_gege
阅读(284)
评论(0)
推荐(0)
hdu_2717_Catch That Cow_bfs
摘要: 题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=2717 题解:一维简单BFS,详细看代码,0ms。 1 #include<cstdio> 2 #include<queue> 3 using namespace std; 4 const int maxn
阅读全文
posted @ 2016-04-30 16:12 bin_gege
阅读(165)
评论(0)
推荐(0)
2016年4月29日
完全大数(高精度)模版
摘要: 注意这个是在网上收集的,减法有一个地方有错误,我已经修正,下面是修正后的大数模板 这个模板不支持负数 1 #include <iostream> 2 #include <stdio.h> 3 #include <algorithm> 4 #include <string.h> 5 using nam
阅读全文
posted @ 2016-04-29 20:34 bin_gege
阅读(274)
评论(0)
推荐(0)
HDU_1245_Saving James Bond_最短路
摘要: 题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=1245 题意:给一个已知直径的圆形岛,然后岛的附近是湖,湖里有一些点,以坐标的形式给出,最外层是矩形的终点。 给定跳跃的距离d,让你判断是否能跳到最外层,如果能就输出最短距离以及这个最短跳的步数。 题解:
阅读全文
posted @ 2016-04-29 20:15 bin_gege
阅读(165)
评论(0)
推荐(0)
上一页
1
···
44
45
46
47
48
公告