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

?????????????

Posted by fucku at 2007-03-13 18:18:12 on Problem 2304
#include<stdio.h>
int main(void)
{
	int d,f,s,t;
	while(1)
	{
	scanf("%d %d %d %d",&d,&f,&s,&t);
	if(d+f+s+t==0) break;
	(f>d)?d=40-(f-d):d=d-f;
	(s>f)?d+=(s-f):d+=(40-(f-s));
	(t>s)?d+=(40-(t-s)):d+=(s-t);
	printf("%d\n",1080+d*9);
	}
	return 0;
}

ce!!!!!!!compile error???????????????????!!!!!!!!!!!

Followed by:
  • Re: (310) SRN 2013-11-26 02:27:00

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