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 boylw at 2011-08-11 08:53:26 on Problem 1410
In Reply To:Re:为什么用宏定义判断最大最小值 会出错呢? Posted by:boylw at 2011-08-11 08:52:01
需改成
#define mmax(x,y) ( (x)>(y) ? (x) : (y) )
#define mmin(x,y) ( (x)<(y) ? (x) : (y) )

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