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 |
Re:a problem about HIn Reply To:a problem about H Posted by:ever16 at 2006-09-29 20:39:50 lh and lw for the first sample are both 2. > If the rotated image has dimensions lh × lw, then its dimensions in pixels are (floor(lh) + 1) × (floor(lw) + 1). > > According to this, the first example should output "4 4"? because floor(lh) + 1 = floor(3) + 1 = 4? > > I think floor(x) + 1 should be replaced by ceil(x) Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator