- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 poj 1008
【模拟与枚举】#include <cstdio>#include<cstring>int main(){ int n,num,year,month,i,m; char cmonth[7],Haab[19][7]={"pop","no","zip","zotz","tzec","xul","yoxkin
2012-09-27 14:27:09 422
原创 HDU 2058
【算法设计】这题用等差数列来计算先求数列的长度Problem DescriptionGiven a sequence 1,2,3,......N, your job is to calculate all the possible sub-sequences that the sum of the sub-sequence is M.InputInput contains multiple tes...
2012-09-10 17:28:24 1301 2
原创 HDU 2057
【水题】16进制转换,区别(%X,%x),另外注意%x,不能输入输出 负数,要另作处理Problem DescriptionThere must be many A + B problems in our HDOJ , now a new one is coming.Give you two hexadecimal integers , your task is to calculate the ...
2012-09-10 15:12:05 686
原创 HDU 2055
【水题】这个题比较水啊 s[10] 换成s 就不对了 有待考虑下#include<cstdio>#include<cstring>#include<algorithm>using namespace std;int main(){ int n,m,ans; char s[10]; while(scanf("%d",&n)...
2012-09-10 14:36:16 466
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人