会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
pter
keep it sample and stupid (KISS)
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
下一页
2016年4月16日
hdu 2602
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2602
阅读全文
posted @ 2016-04-16 10:09 pter
阅读(150)
评论(0)
推荐(0)
2016年4月15日
hdu 2546饭卡
摘要: 用5块钱去买最贵的物品,用剩下的m-5块去买尽量多的物品
阅读全文
posted @ 2016-04-15 20:54 pter
阅读(127)
评论(0)
推荐(0)
UVA 624 CD
摘要: 主要是打印路径有点麻烦,然后就是用于标记的数组要开大点,不然会狂wa不止,而且还不告诉你re
阅读全文
posted @ 2016-04-15 20:51 pter
阅读(129)
评论(0)
推荐(0)
2015年11月30日
hdu 5585 Numbers
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5585思路:对于2和5只须看最后一位数,对于三看所有位的数字之和就行 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7...
阅读全文
posted @ 2015-11-30 01:13 pter
阅读(142)
评论(0)
推荐(0)
2015年11月24日
hdu 2057 A+B
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2057For each test case,print the sum of A and B in hexadecimal in one line.Sample Input+A -A+1A 121A -9...
阅读全文
posted @ 2015-11-24 18:22 pter
阅读(121)
评论(0)
推荐(0)
hdu2030 汉字统计
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2030解题思路:主要考察汉字的编码方式,汉字机内码在计算机的表达方式的描述是,使用二个字节,汉字的每个字节都是 2 #include 3 #include 4 using namespace std; 5...
阅读全文
posted @ 2015-11-24 00:05 pter
阅读(136)
评论(0)
推荐(0)
hdu 2034人见人爱A-B
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2034解题思路:set的基本用法 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 int main() ...
阅读全文
posted @ 2015-11-24 00:02 pter
阅读(200)
评论(0)
推荐(0)
2015年11月23日
hdu 2027统计元音
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2027思路:主要考察gets()函数用法,能够接受输入的空格,如果用%s或是cin>>str都不能输入空格 1 #include 2 #include 3 #include 4 #includ...
阅读全文
posted @ 2015-11-23 17:05 pter
阅读(185)
评论(0)
推荐(0)
hdu 2020
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2020思路:优先队列水过priority_queue 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include...
阅读全文
posted @ 2015-11-23 16:45 pter
阅读(176)
评论(0)
推荐(0)
2015年11月19日
hdu 1005
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1005思路:找规律题 1 #include 2 main() 3 { 4 int s[100]; 5 int a,b,n,i; 6 while(scanf("%d%d%d",&a,...
阅读全文
posted @ 2015-11-19 21:50 pter
阅读(134)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
下一页
公告