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 jimlin at 2009-04-07 11:13:49 on Problem 3030
In Reply To:这个那错了 Posted by:2992753 at 2009-03-15 10:41:36
> #include"stdio.h"
> void main()
> {
>     int r,e,k;
> 	unsigned  int c;
> 	int n,i;
> 	scanf("%d",&n);
> 	for(i=0;i<n;i++)
> 	{
> 		scanf("%d%d%d",&r,&e,&c);
>         k=e-c;
>         if(k==r)
> 			printf("does not matter\n");
> 		else
> 		{
> 			if(k<r)
> 				printf("does not advertise\n");
> 			else
> 				printf("advertise\n");
> 		}
> 	}
> }

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