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

题目不难, 数据也不强, 不难ac. 题意基本上是求颜色最相近的两个RGB颜色的mapping, input中每一行为一个RGB颜色, 前16个RGB颜色为target set, 接下来的每一行的颜色都需要求mapping, 即与target set中哪一个的distance最小, 求distance即RGB的差的平方开根号. 输入为三个-1的时候跳出

Posted by only_xxp at 2011-04-10 23:24:37 on Problem 1046


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