2014年11月22日

一二三

摘要: 切切水题抚慰受伤的心=~= 1250: 一二三 Time Limit: 1 Sec Memory Limit: 128 MB [Submit][Status][Web Board] Problem Description 你弟弟刚刚学会写英语的一(one)、二(two)和三(... 阅读全文

posted @ 2014-11-22 20:53 胖胖的乓乓 阅读(177) 评论(0) 推荐(0) 编辑

zoj 3819(牡丹江现场赛A题)

摘要: 马上要去上海了,刷刷现场赛的题找找感觉~~~ 这题。。。。。。。额,没什么好说的,太水。。 ZOJ Problem Set - 3819 Average Score Time Limit: 2 Seconds Memory Limit: 65536 KB Bob is a ... 阅读全文

posted @ 2014-11-22 20:47 胖胖的乓乓 阅读(118) 评论(0) 推荐(0) 编辑

zoj 3827(牡丹江现场赛I题)

摘要: ZOJ Problem Set - 3827 Information Entropy Time Limit: 2 Seconds Memory Limit: 65536 KB Special Judge Information Theory is one of the... 阅读全文

posted @ 2014-11-22 20:41 胖胖的乓乓 阅读(113) 评论(0) 推荐(0) 编辑

2014年11月1日

zoj3633

摘要: ZOj 3633 点击打开链接 大致题意: 给你n个数,m个查询,每个查询给出俩个数a,b,查询从b->a(从右到左)有没有重复出现的数,有的话输出第一个出现的重复的数,否则输出OK; 解题思路: 我是直接用map查询时,从后往前,map的find()判断是否有重复。 #include #in... 阅读全文

posted @ 2014-11-01 17:54 胖胖的乓乓 阅读(121) 评论(0) 推荐(0) 编辑

2014年10月25日

hdu 5078

摘要: Osu! Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 58 Accepted Submission(s): 41 Sp... 阅读全文

posted @ 2014-10-25 11:30 胖胖的乓乓 阅读(132) 评论(0) 推荐(0) 编辑

hdu4018(模拟)

摘要: 水模拟: 点击打开链接hdu 4018 #include #include #include #include #include #include #include #include #include #define PI acos(-1.0)#define M 1000005 //10^6... 阅读全文

posted @ 2014-10-25 11:19 胖胖的乓乓 阅读(126) 评论(0) 推荐(0) 编辑

hdu4011(水贪心)

摘要: 点击打开链接hdu4011 水贪心: 注意I64d! #include #include #include #include #include #include #include #include #include #define PI acos(-1.0)#define eps 1e-8#d... 阅读全文

posted @ 2014-10-25 11:13 胖胖的乓乓 阅读(310) 评论(0) 推荐(0) 编辑

2014年9月28日

c++大数板子

摘要: #include #include #include #include using namespace std;typedef long long ll;/* * 完全大数模板 * 输出cin>>a * 输出a.print(); * 注意这个输入不能自动去掉前导0的,可以先读入到char数组,去... 阅读全文

posted @ 2014-09-28 21:06 胖胖的乓乓 阅读(283) 评论(0) 推荐(0) 编辑

2014年9月22日

POJ 2488(dfs+字典序)

摘要: poj2488 题意: 问能不能不重复地走能遍历所有的棋格,走法按中国象棋马的方法。 分析: dfs+字典序输出... 我的字典序处理是用的String 来存,每次dfs后将该次有效遍历的地址加到串里面。从(0,0)开始。其他的就是基本的dfs知识~ #include #include... 阅读全文

posted @ 2014-09-22 21:35 胖胖的乓乓 阅读(143) 评论(0) 推荐(0) 编辑

2014年9月4日

java 配置及Eclipse安装

摘要: jdk下载 点我~ Java SE Development Kit 8u20 You must accept the Oracle Binary Code License Agreement for Java SE to download this software. ... 阅读全文

posted @ 2014-09-04 02:32 胖胖的乓乓 阅读(141) 评论(0) 推荐(0) 编辑

导航