Anniversary party Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (J…
标签:online judge HDU
HDU 1229 还是A+B(水题)
还是A+B Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)T…
HDU 5908 Abelian Period 暴力
Abelian Period 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5908 Description Let S be a number string, and …
算法之我见 [数论之旅] Pollard Rho因数分解
算法代码: #include "stdio.h" #include "conio.h" main() { int n,i; printf("\nplease input a number:\n"); scanf("%d"…
hdu 1150 Machine Schedule 最少点覆盖
Machine Schedule Time Limit: 1 Sec Memory Limit: 256 MB 题目连接 http://acm.hdu.edu.cn/showproblem.php?…
HDU 5344 MZL's xor 水题
MZL’s xor 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5344 Description MZL loves xor very much.Now h…
HDU 4638 Group (2013多校4 1007 离线处理+树状数组)
Group Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)T…
HDU 1151 Air Raid(最小路径覆盖)
Air Raid Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Other…
HDU 1564 Play a game (找规律博弈)
Play a game Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Ot…
HDU 2710 Max Factor (水题)
Max Factor Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Oth…
HDU 4301 Divide Chocolate(找规律,DP)
Divide Chocolate Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Ja…
HDU 1019[Least Common Multiple] GCD
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1019 题目大意:求n个数的最大公约数 关键思想:最大公倍数等于乘积除以最大公约数。LCM具有结合律和交换律 代码如下 //…