- 博客(3)
- 收藏
- 关注
原创 hdu2007 平方和与立方和
//水题//http://acm.hdu.edu.cn/showproblem.php?pid=2007#include int main(){ int i,t,a,b,x,y; while(~scanf("%d%d",&a,&b)) { if(a>b) { t=a;a=b;b=t; } x=y=0; for(i=a;i { if(
2013-07-26 16:44:22 530
原创 hdu2004 成绩转换
//水题http://acm.hdu.edu.cn/showproblem.php?pid=2004#include int main(){ int n; while(~scanf("%d",&n)) { if(n else if(n>=0&&n else if(n else if(n else if(n else if(n e
2013-07-26 16:40:29 465
原创 hdu1043Eight
//暴力打表搞定#include #include #include #include #include using namespace std;struct sss{ int pre,step; int op,pos; char s[10];};int hash[362888];sss que[362888];int nn[10]={1
2013-07-26 16:33:58 640
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人