#Lutece1278. Graph
Graph
Migrated from Lutece 1278 Graph
All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.
Description
一个的网格中,有n个格点组成的简单多边形(不自交),现在请你按照以下规则绘制该多边形
按照每个网格中多边形所占面积,给每个网格打上标记,标记符号如下
[0%,25%)-----------------"."
[25%,50%)----------------"+"
[50%,75%)----------------"o"
[75%,100%)---------------"$"
100%---------------------"#"
将网格打好标记之后输出,更多细节请参见样例
Input
第一行为三个整数,,
接下来行每行两个整数,,表示第i个点的坐标,顺时针给出
Output
输出行,每一行个字符,每个字符表示每个网格的标记
Samples
6 8 7
7 6
1 0
1 7
5 5
2 4
2 3
.$+.....
.##$+...
.#$oo+..
.#+$o...
.##o....
.#o.....
.o......