ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Общий форум

USACO training problem
Послано dimroed 2 фев 2002 07:47
This is a problem off of the USACO Training Gateway.

N opaque rectangles (1 <= N <= 1000) of various colors are placed on
a white sheet of paper whose size is A wide by B long. The rectangles
are put with their sides parallel to the sheet's borders. All
rectangles fall within the borders of the sheet so that different
figures of different colors will be seen.

Given rectangle's dimensions, positions, and colour, output the total
area covered by each color.

----

This problem is in the graphing section for some reason, and I can't
figure out how to do it using either graphing techniques or normal
ones.

Any suggestions?