摘要:
题目链接:http://poj.org/problem?id=1338 丑数 #include<stdio.h> #include<string.h> int main(){ int i,j,k,t; int num[1510]; memset(num,0,sizeof(num)); int q2, 阅读全文
摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=254 0-1背包问题 代码: #include<stdio.h> #include<string.h> #include<algorithm> using namespace std; int cmp(int a, 阅读全文
摘要:
正好我现在在玩数独这个游戏,看到这个问题我就来了兴趣,完成着这个问题,妈妈再也不用担心我玩数独游戏啦~~ 题目链接: http://acm.nyist.net/JudgeOnline/problem.php?pid=722 #include<stdio.h> int map[9][9]; int f 阅读全文
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2152 母函数: 代码: #include<stdio.h> #include<string.h> int main(){ int c1[120],c2[120],min[120],max[120]; i 阅读全文
摘要:
Problem Description Once upon a time, in the Kingdom of Loowater, a minor nuisance turned into a major problem. The shores of Rellau Creek in central 阅读全文