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 |
借地方用一下。^_^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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator