10 2018 档案

摘要:图中红线代表曼哈顿距离,绿色代表欧氏距离,也就是直线距离,而蓝色和黄色代表等价的曼哈顿距离。曼哈顿距离——两点在南北方向上的距离加上在东西方向上的距离,即d(i,j)=|xi-xj|+|yi-yj|。对于一个具有正南正北、正东正西方向规则布局的城镇街道... 阅读全文
posted @ 2018-10-22 21:59 UUUUh 阅读(255) 评论(0) 推荐(0)
摘要:C. Books Queriestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have got a s... 阅读全文
posted @ 2018-10-13 09:57 UUUUh 阅读(220) 评论(0) 推荐(0)