摘要: 仔细分析的话,不用说了,我只是尽自己的力量去写一个尽量好看的代码。。。思路说一下: 就是先统计这个点的上区间有多少点,下区间有多少点,然后x排序再求上下区间,这个时候便可以得知已经更新进去的点一定在该点的左下方、左上方、下方。。。 由此统计出每个点被作为标准点画出,每个人的得分情况。。View Code 1 #include<iostream> 2 #include<stdio.h> 3 #include<stdlib.h> 4 #include<algorithm> 5 #include<string.h> 6 using name 阅读全文
posted @ 2012-11-13 16:01 诺小J 阅读(164) 评论(0) 推荐(0) 编辑