QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#602724#2048. Color the Map3un_larryfunc100 ✓38ms3776kbC++203.7kb2024-10-01 12:26:212024-10-01 12:26:22

Details

Tip: Click on the bar to expand more detailed information

Pretests


Final Tests

Test #1:

score: 100
Accepted
time: 38ms
memory: 3776kb

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