呵呵,又学了个离散化
Mayor's posters
Time Limit: 1000MS | Memory Limit: 65536K | |
Total Submissions: 24166 | Accepted: 6991 |
Description
The citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral posters at all places at their whim. The city council has finally decided to build an electoral wall for placing the posters and introduce the following rules: