3128 - (*) Overlapping Squares   

Description

http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=243&page=show_problem&problem=3265
http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=42080

Input

Output

Sample Input  Download

Sample Output  Download

Tags




Discuss