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 |
题目不难, 数据也不强, 不难ac. 题意基本上是求颜色最相近的两个RGB颜色的mapping, input中每一行为一个RGB颜色, 前16个RGB颜色为target set, 接下来的每一行的颜色都需要求mapping, 即与target set中哪一个的distance最小, 求distance即RGB的差的平方开根号. 输入为三个-1的时候跳出Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator