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<cstdio> int main() { int n; scanf("%d",&n); int i,x,y; for(i=1;i<=n;i++) { scanf("%d%d",&x,&y); if (x==y||x-2==y) printf("%d\n",x+y-x%2); else printf("No Number\n"); } } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator