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 xiaoyuanwang at 2007-05-10 22:56:09 on Problem 2707
只是在读题的时候有点麻烦.
比如说560x400-->200x280只变化50%,及560*50%   400*50%
所以在变的时候如输入8 13 5 1时,先按大小分一下--->13 8 5 1;
在把大的边变成5及5/13*13这样图片就边化了5/13,这样13 8 5 1-->5 (5/13)8  5 1
再研究5/13*8与1的大小,如果比1大,按照百分比再变化.就这样
自己也说不清了,呵呵.

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