408391: GYM103110 G Map Matching

Memory Limit:256 MB Time Limit:0 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

G. Map Matchingtime limit per test1.0 smemory limit per test256 megabytesinputstandard inputoutputstandard outputExampleInput
2
4
0 0
2 2
10 2
8 0
5 -5
1 -5
2 -4
6 -4
3
1 0
0 2
1 2
0 0
2 1
2 0
Output
YES
NO

加入题单

上一题 下一题 算法标签: