Codeforces Round #112 (Div. 2)
はい。
http://codeforces.com/contest/165
A. Supercentral Point
ざっくりと大意
・同じy座標でxだけ違いと、同じx座標でyだけ違いのお家の中央になるお家が何かアレ??
方針のようなもの
・問題文が解読できず隣接するマスしか見なくて撃沈
・そうだ、パクろう
2516142のdaidailanlanさん。
point=[map(int, raw_input().split()) for i in range(input())] print sum([len({(cmp(x,xx),cmp(y,yy)) for xx,yy in point if x==xx or y==yy})==5 for x,y in point])