| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
真抱歉,我当时真看错题号了。刚才拿这个代码测了一下,a和b都是正的,没有0或者负数In Reply To:Re:啊,不好意思,看错题号了 Posted by:wqb0039 at 2007-09-24 14:19:00 如果a、b有0或者负数,应该是TLE
结果status是WA,所以都是正数了
#include <stdio.h>
main()
{
int a,b,n,k;
for (scanf("%d%d",&n,&k);n;n--)
{
scanf("%d%d",&a,&b);
if (a<=0 || b<=0) for(;;);
}
return 0;
}
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator