摘要: 时间:1s 空间:128M题目描述:给你n个数,输出这n个数离散化后的结果 比如4 100 80 10000 离散化后为1 3 2 4 每个数的值为在原先数组中大小的排名,相同排名输出相同。 如1 1000 100 100 输出1 4 2 2输入格式:第... 阅读全文
posted @ 2018-07-13 20:37 ZJ_MRZ 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 英文Time Limit:1s Memory Limit:256MDescriptionGiven a n*m map.A “Mengxin” is trapped.You are the one to rescue him.In the map,the... 阅读全文
posted @ 2018-07-13 15:42 ZJ_MRZ 阅读(609) 评论(0) 推荐(0) 编辑
摘要: 英文Time Limit:1s Memory Limit:256MDescription Please calculate the least steps knight moves from one position to another.InputTh... 阅读全文
posted @ 2018-07-13 15:04 ZJ_MRZ 阅读(393) 评论(0) 推荐(0) 编辑