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 ass at 2003-12-03 22:32:02 on Problem 1028
In Reply To:为什么总是Memory Limit Exceed?有什么解决方法? Posted by:glaver at 2003-12-03 21:57:40
#include "math.h"
#include "stdio.h"
void main()
{
	int a,b,c;
	scanf("%d %d %d",&a,&b,&c);
	if ((a-b)*(a-c)<0) printf("%d\n",a);
	else if ((b-a)*(b-c)<0) printf("%d\n",b);
	else printf("%d\n",c);
}

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