2017年2月9日

1416 两点 并查集

摘要: http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1416 对于每一个坐标(x, y) 要使得它变成一个整数,一个方法就是x * max(n, m) + y 这样就不会相同了。可以幻想一下吧。 这样坐标的大小只会去到n * m 阅读全文

posted @ 2017-02-09 14:45 stupid_one 阅读(149) 评论(0) 推荐(0) 编辑

导航