시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
2 초 128 MB 42 10 5 35.714%

문제

일요일을 맞이해 창영이는 집안의 모든 침대 시트를 빨고, 집 앞 잔디밭에서 말리고 있다. 갑자기, 엄청난 강풍이 몰아쳤고 모든 침대 시트는 땅바닥에 떨어지게 되었다.

잔디밭은 크기가 무한대인 정사각형 격자로 나타낼 수 있고, 각 단위 정사각형은 좌표 쌍으로 나타낼 수 있다. 침대 시트는 직사각형이며, 축에 평행하다. 시트는 서로 겹칠 수도 있다.

다시 빨래줄에 시트를 걸어놓기 위해 창영이는 막대를 (0,0)에 꽂았다. 그런데 갑자기 땅에서 기름이 나오기 시작했다. 창영이는 이런 예상하지 못한 상황에 당황하였고 결국 기절했다. 창영이가 기절한 사이에 기름은 퍼져나갔다.

시간은 기름이 퍼지기 시작한 순간부터 측정하기 시작한다. 가장 처음에는 단위 정사각형 (0,0)만 기름이 있다. 기름은 아래 그림에 나와있는 것 같이 1초에 한 정사각형씩 여덟 방향으로 이동한다. 기름이 단위 정사각형에 들어가게 되면, 즉시 그 정사각형을 가득 채우게 되고, 그 부분에 속해있는 시트에도 기름이 스며들게 된다.

시간 0, 1, 2초의 모습이다.

입력으로 주어지는 시간이 지난 후에 기름이 물들은 시트의 면적을 구하는 프로그램을 작성하시오.

입력

첫째 줄에 침대 시트의 수 N (1 ≤ N ≤ 100,000)이 주어진다.

다음 N개 줄에는 침대 시트를 나타내는 좌표 x1, y1, x2, y2가 주어진다. (x1, y1), (x2, y2)는 침대 시트의 양 끝 대각선 좌표이다. 이 좌표는 좌표평면 위의 점이 아닌 각 단위 정사각형을 나타낸다. (0, 0)을 포함하는 침대 시트는 없다.

다음 줄에는 시간의 개수 M (1 ≤ M ≤ 100,000)이 주어진다.

다음 M개 줄에는 시간이 주어진다. 이 정수는 0과 1,000,000 사이의 정수이다. 오름차순으로 주어지며, 중복된 시간은 주어지지 않는다.

출력

각각의 시간에 대해서, 기름에 물들은 침대 시트 영역의 크기를 출력한다.

예제 입력 1

3
-2 1 1 2
1 0 2 1
-3 -3 -2 0
2
1 2

예제 출력 1

5
15

예제 입력 2

4
5 1 8 4
-8 1 -5 4
-10 2 10 3
6 0 8 10
6
1 2 3 4 7 9

예제 출력 2

0
5
14
18
70
100

예제 입력 3

1
1 1 1000000 1000000
3
100 10000 1000000

예제 출력 3

10000
100000000
1000000000000
W3sicHJvYmxlbV9pZCI6IjI5MjgiLCJwcm9ibGVtX2xhbmciOiIwIiwidGl0bGUiOiJcdWJlNjhcdWI3YWJcdWM5MDQiLCJkZXNjcmlwdGlvbiI6IjxwPlx1Yzc3Y1x1YzY5NFx1Yzc3Y1x1Yzc0NCBcdWI5ZGVcdWM3NzRcdWQ1NzQgXHVjYzNkXHVjNjAxXHVjNzc0XHViMjk0IFx1YzlkMVx1YzU0OFx1Yzc1OCBcdWJhYThcdWI0ZTAgXHVjZTY4XHViMzAwIFx1YzJkY1x1ZDJiOFx1Yjk3YyBcdWJlNjhcdWFjZTAsIFx1YzlkMSBcdWM1NWUgXHVjNzk0XHViNTE0XHViYzJkXHVjNWQwXHVjMTFjIFx1YjlkMFx1YjlhY1x1YWNlMCBcdWM3ODhcdWIyZTQuIFx1YWMxMVx1Yzc5MFx1YWUzMCwgXHVjNWM0XHVjY2FkXHViMDljIFx1YWMxNVx1ZDQ4ZFx1Yzc3NCBcdWJhYjBcdWM1NDRcdWNjZTRcdWFjZTAgXHViYWE4XHViNGUwIFx1Y2U2OFx1YjMwMCBcdWMyZGNcdWQyYjhcdWIyOTQgXHViNTQ1XHViYzE0XHViMmU1XHVjNWQwIFx1YjVhOFx1YzViNFx1YzljMFx1YWM4YyBcdWI0MThcdWM1YzhcdWIyZTQuPFwvcD5cclxuXHJcbjxwPlx1Yzc5NFx1YjUxNFx1YmMyZFx1Yzc0MCBcdWQwNmNcdWFlMzBcdWFjMDAgXHViYjM0XHVkNTVjXHViMzAwXHVjNzc4IFx1YzgxNVx1YzBhY1x1YWMwMVx1ZDYxNSBcdWFjY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XJlIGdpdmVuIGluIHRoZSBpbnB1dC4mbmJzcDs8XC9wPlxyXG4iLCJoaW50IjoiIiwib3JpZ2luYWwiOiIxIiwicHJvYmxlbV9sYW5nX2NvZGUiOiJcdWM2MDFcdWM1YjQifV0=

출처

Olympiad > Croatian Highschool Competitions in Informatics > 2009 > Croatian Olympiad in Informatics 2009 3번

  • 문제를 번역한 사람: baekjoon
  • 데이터를 추가한 사람: lim551