本月博客排行
-
第1名
龙儿筝 -
第2名
flashsing123 -
第3名
xiaoxinye - e_e
- java_doom
- johnsmith9th
- gaochunhu
- sichunli_030
- zw7534313
- 深蓝传说
年度博客排行
-
第1名
宏天软件 -
第2名
龙儿筝 -
第3名
青否云后端云 - wallimn
- vipbooks
- gashero
- wy_19921005
- benladeng5225
- fantaxy025025
- zysnba
- e_e
- javashop
- sam123456gz
- tanling8334
- arpenker
- kaizi1992
- xpenxpen
- lemonhandsome
- xiangjie88
- ganxueyun
- xyuma
- sichunli_030
- wangchen.ily
- jh108020
- Xeden
- johnsmith9th
- zxq_2017
- zhanjia
- jbosscn
- forestqqqq
- luxurioust
- lzyfn123
- ajinn
- daizj
- wjianwei666
- ranbuijj
- 喧嚣求静
- silverend
- kingwell.leng
- lchb139128
- kristy_yy
- lich0079
- jveqi
- java-007
- sunj
- yeluowuhen
- lerf
- lstcyzj
- flashsing123
- lxguy
最新文章列表
hdu 1026 Ignatius and the Princess I
Ignatius and the Princess I
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4313 Accepted Submission(s): 1348Special Judge
Problem Descripti ...
hdu 2102 A计划
A计划
Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4022 Accepted Submission(s): 911
Problem Description
可怜的公主在一次次被魔王掳走一次次被骑士们救回来之后,而今,不幸的她 ...
hdu 1242 Rescue(优先队列)
Rescue
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5846 Accepted Submission(s): 2168
Problem Description
Angel was caught by the MOLIGP ...
hdu 1548 A strange lift(简单的bfs)
A strange lift
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3839 Accepted Submission(s): 1406
Problem Description
There is a strange lif ...
hdu 1372 Knight Moves(最经典的bfs)
Knight Moves
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2136 Accepted Submission(s): 1354
Problem Description
A friend of you is doing ...
【素数筛法求欧拉值前n项和】POJ 2478 Farey Sequence
http://poj.org/problem?id=2478
Sample Input
2
3
4
5
0
Sample Output
1
3
5
9
求的是:sum(n) = phi(1) + phi(2) + phi(3) + ... + phi(n);
更多欧拉函数的说明:http://972169909-qq-com.iteye.com/blog/1131309
#includ ...
【哥种的第一棵线段树,至于你信不信,我反正信了】HDU 1754 I Hate It
http://acm.hdu.edu.cn/showproblem.php?pid=1754
Problem Description
很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。
这让很多学生很反感。
不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。
Input
本题目包含多组测 ...
hdu 1426 Sudoku Killer(dfs)
Sudoku Killer
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1271 Accepted Submission(s): 352
Problem Description
自从2006年3 ...
hud 1175 连连看(dfs)
连连看
Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5387 Accepted Submission(s): 1401
Problem Description
“连连看” ...
hdu 2553 N皇后问题 (经典的dfs)
N皇后问题
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1757 Accepted Submission(s): 772
Problem Description
在N*N的方格棋盘放置了N个皇后,使得它们不相互攻击(即 ...
hdu 1241 Oil Deposits (最经典的dfs)
Oil Deposits
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3087 Accepted Submission(s): 1765
Problem Description
The GeoSurvComp geolo ...
hdu 1258 Sum It Up
Sum It Up
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1099 Accepted Submission(s): 528
Problem Description
Given a specified total t an ...
hdu 1010 Tempter of the Bone
Tempter of the Bone
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 24023 Accepted Submission(s): 6616
Problem Description
The doggie found ...
【TMD的陷阱题】HDU 2143 box
http://acm.hdu.edu.cn/showproblem.php?pid=2143
注意三点:①分母为0 ②要先判定整除性 ③数比较大,要用int64
#include <iostream>
using namespace std;
#define L __int64
bool isok (L a, L b, L c)
{
if (a + b = ...
【二进制状态压缩+子集枚举/新增深搜】HDU 1557 权利指数
http://acm.hdu.edu.cn/showproblem.php?pid=1557
Problem Description
在选举问题中,总共有n个小团体,每个小团体拥有一定数量的选票数。如果其中m个小团体的票数和超过总票数的一半,则此组合为“获胜联盟”。n个团体可形成若干个获胜联盟。一个小团体要成为一个“关键加入者”的条件是:在其所在的获胜联盟中,如果缺少了这个小团体的加入,则此联盟 ...
【大数类+重载运算符+映射】HDU 1316 How Many Fibs?
http://acm.hdu.edu.cn/showproblem.php?pid=1316
题意:给出a,b;求区间[a,b]内有多少个斐波那契数,其中a <= b <= 10^100
暂时我这个大数类只重载了加号,等于号,大于等于,小于等于
#include <iostream>
#include <fstream>
#include < ...
【多边形重心/新增三角形叉积公式】HDU 1115 Lifting the Stone
http://acm.hdu.edu.cn/showproblem.php?pid=1115
题意:逆时针给出n个点,求这个n边形的重心
Sample Input
2
4
5 0
0 5
-5 0
0 -5
4
1 1
11 1
11 11
1 11
Sample Output
0.00 0.00
6.00 6.00 ...