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 |
Re:哪里错了?有反例吗?In Reply To:哪里错了?有反例吗? Posted by:fengxingjie1989 at 2009-10-21 10:52:29 > #include<stdio.h> > #include<math.h> > int main() > { > int s1,s2; > while(scanf("%d%d",&s1,&s2)==2){ > s1=abs(s1-s2); > printf("%d\n",(s1+1)%2);} > } > > //个人感觉这样没错啊,谁能给帮忙找个反例? Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator