QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#504027#2048. Color the Mapxiaowuc1100 ✓716ms3876kbC++175.3kb2024-08-04 04:06:002024-08-04 04:06:01

詳細信息


Pretests


Final Tests

Test #1:

score: 100
Accepted
time: 716ms
memory: 3876kb

input:

6
Blizid
0 0
60 0
60 60
0 60
0 50
50 50
50 10
0 10
-1
Blizid
0 10
10 10
10 50
0 50
-1
Windom
10 10
50 10
40 20
20 20
20 40
10 50
-1
Accent
50 10
50 50
35 50
35 26
-1
Pilot
35 25
35 50
10 50
-1
Blizid
20 20
40 20
20 40
-1
6
Blizid
0 0
60 0
60 60
0 60
0 50
50 50
50 10
0 10
-1
Blizid
0 10
10 10
10 50
0...

output:

3
4
3
2
3
9
10
6
5
6
7
9
1
10
4

result:

ok 15 lines