Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:蒟蒻贴代码……

Posted by linchenyi at 2021-04-17 18:45:25 on Problem 1663
In Reply To:蒟蒻贴代码…… Posted by:YanXB at 2015-01-01 21:14:00
> #include <stdio.h>
> #include <stdlib.h>
> #include <string.h>
> int main(int argc,char *argv[])
> {
> 	int z;
> 	scanf("%d",&z);
> 	while(z--)
> 	{
> 		int x,y;
> 		scanf("%d%d",&x,&y);
> 		if(x-y==0||x-y==2)
> 			printf("%d\n",x*2-x%2-x+y);
> 		else
> 			printf("No Number\n");
> 	}
> 	return (0);
> }

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator