Hdu上的一道题1058,一直WA呀,为什么#include#define min(a,b) a

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/28 23:21:00

Hdu上的一道题1058,一直WA呀,为什么#include#define min(a,b) a
Hdu上的一道题1058,一直WA呀,为什么
#include
#define min(a,b) a

Hdu上的一道题1058,一直WA呀,为什么#include#define min(a,b) a
while(scanf("%d",&n)&&n)
{
if (n % 10==1&&n%100!=11)
printf("The %dst humble number is %I64d.\n",n,u[n]);
else if
(n % 10==2&&n%100!=12)
printf("The %dnd humble number is %I64d.\n",n,u[n]);
else if
(n % 10==3&&n%100!=13)
printf("The %drd humble number is %I64d.\n",n,u[n]);
else
printf("The %dth humble number is %I64d.\n",n,u[n]);
}
似乎你输出的时候判断有点问题,这个是我写的,你看看吧.

Hdu上的一道题1058,一直WA呀,为什么#include#define min(a,b) a hdu 砂纸上的wa是什么意思 一道ACM题,为什么WA了,Nowadays,a kind of chess game called “Super Jumping!Jumping!Jumping!” is very popular in HDU.Maybe you are a good boy,and know little about this game,so I introduce it to you now.The game can be played by two or more t HDU的acm1199题总是WA,估计数组范围不够,这题数组应该开多少?All the input are less than 2^31-1.Problem DescriptionThere are infinite balls in a line (numbered 1 2 3 .),and initially all of them are paint black.Now Jim use a brush pa 真心求解!浙大ZOJ平台上3168题,觉得很简单啊,但一直WA.坐等哭求大牛!Sort ZOJ7--------------------------------------------------------------------------------Time Limit: 1 Second Memory Limit: 32768 KB ----------------------- 望远镜上的一个显示是WA是什么意思? 望远镜上的一个显示是WA是什么意思? 在地图上的SA和WA是什么意思 谢谢 wa饭的wa怎么写 hdu 1904 HDU 2054 WA了我梳理了下思路,找不出错误,求大牛们指点下!#include#includeint main(){char s1[20001],s2[20001];int i,j,n1,n2,k1,k2;// n 计算s1的点数 ,k,计算s2的点数int len1,len2;int flag1,flag2;while(scanf(%s%s,s1,s2)!=EOF) 求数论知识 怎么算(a/b)%c 比如说:对于一个给定的正整数n求另一个正整数 满足m>=((6^n-1)/30)%2011其实是一道acm题 公式推出来是这样 不知道怎么破了http://acm.hdu.edu.cn/showproblem.php?pid=4599 杭电 oj FatMouse' Trade原题连接:代码太长,不能发,考虑到了catfood 可能为0的情况,但是还是一直wa给个代码的连接吧,http://hi.baidu.com/%E6%88%91%E6%83%B3%E6%9C%89%E4%B8%AA%E4%BF%A1%E4%BB%B0/blog/item/6a609243435479208 为了使函数y=sinwx(w>0)在区间[a,a+1]上至少出现50次最大值,则w的最小值为wa= gu ma wa yo 韩语的gu ma wa 以WA开头的单词 WA是什么词的缩写