日志 (查看全部日志..)
最新 10 篇
-
HDU1518 Square
http://acm.hdu.edu.cn/showproblem.php?pid=1518 DFS 开始的时候回朔问题没有考虑清楚 #include<stdio.h> #include&阅读全文|05-16 14:09|没有评论
-
求完数算法
#include<stdio.h> #include<math.h> int main() { __int64 a ={2,3,5,7,13,17,19,31}; //  阅读全文|05-16 10:24|没有评论
-
整数划分算法
for(i=1; i<=101; i++) f =f =f =1; for(; i<=1001; i++) &nb阅读全文|05-15 10:26|没有评论
-
HDU 2169Geek Challenge [SKRZAT] (Base Minus Two)
http://acm.hdu.edu.cn/showproblem.php?pid=2169 #include<stdio.h> #include<string.h> int main() { int n,i,j,阅读全文|05-15 09:31|没有评论
-
HDU 1176 免费馅饼
http://acm.hdu.edu.cn/showproblem.php?pid=1176 简单dp #include<stdio.h> #include<string.h> int fallx ; int a阅读全文|05-13 11:16|没有评论
-
HDU 1058Humble Numbers
http://acm.hdu.edu.cn/showproblem.php?pid=1058 水题 也贴一下 #include<stdio.h> int humble ; int min(int a, int b, int阅读全文|05-13 10:54|没有评论
-
HDU 1799 循环多少次?
http://acm.hdu.edu.cn/showproblem.php?pid=1799 公式推出来以后就是简单题了,呵呵 就是求n! / (m)! / (n-m)! 简单来说就是求C(n)m阅读全文|05-13 09:06|没有评论
-
HDU1232 畅通工程
http://acm.hdu.edu.cn/showproblem.php?pid=1232 赤裸裸的并查集 #include<stdio.h> int a ; int findx(int x) { while(a !=x阅读全文|05-12 14:42|没有评论
-
HDU 1692 Destroy the Well of Life
http://acm.hdu.edu.cn/showproblem.php?pid=1692 模拟题 比赛的时候居然没有看这道题 哎 还是卡死在那个一直被我们认为是dp的该死的 -
PKU 1160 Post Office
http://acm.pku.edu.cn/JudgeOnline/problem?id=1160 DP题 在一条笔直的公路上有一排城镇,要在城镇上建邮局,首先输入城镇数和要建的邮局数,问阅读全文|05-11 21:09|没有评论

