| ||||||||||
| 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 | |||||||||
哪里错了?有反例吗?#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