UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#103260#1574. 扫雷MineQuartZ_Z1000ms508kbPascal551b2020-02-28 20:56:452020-02-28 20:56:45

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 10
Accepted
time: 0ms
memory: 500kb

input:

101
1 2 2 2 1 1 1 2 2 2 1 1 1 2 2 2 1 1 1 1 1 1 2 2 2 1 1 1 2 2 2 1 1 1 1 1 1 1 1 1 2 2 2 1 1 1 2 2 ...

output:

2

result:

ok single line: '2'

Test #2:

score: 10
Accepted
time: 0ms
memory: 508kb

input:

10
1 2 0 1 3 3 2 2 0 2

output:

0

result:

ok single line: '0'

Test #3:

score: 10
Accepted
time: 0ms
memory: 508kb

input:

9998
1 2 2 2 1 1 1 2 2 2 2 2 2 1 1 1 2 2 2 2 2 2 2 2 2 1 1 1 2 2 2 1 1 1 1 1 1 2 2 2 1 1 1 1 1 1 1 1...

output:

2

result:

ok single line: '2'

Test #4:

score: 10
Accepted
time: 0ms
memory: 508kb

input:

50
0 1 1 1 0 1 2 3 2 2 2 2 1 1 1 1 0 1 1 1 0 1 2 3 2 1 1 2 3 3 2 2 2 3 3 2 1 0 0 0 0 1 1 1 1 1 2 2 2 1

output:

1

result:

ok single line: '1'

Test #5:

score: 10
Accepted
time: 0ms
memory: 504kb

input:

7000
1 1 0 0 1 1 2 1 1 0 1 1 1 0 1 2 3 2 1 1 1 2 2 2 1 1 2 2 1 0 0 0 1 1 2 1 2 2 2 1 1 2 3 2 1 1 1 2...

output:

1

result:

ok single line: '1'

Test #6:

score: 10
Accepted
time: 0ms
memory: 504kb

input:

1000
2 3 2 1 1 2 3 2 2 2 3 2 2 2 3 3 2 2 1 1 0 0 0 1 1 2 1 2 2 2 1 0 0 0 1 1 1 0 0 0 1 2 3 2 1 0 0 1...

output:

1

result:

ok single line: '1'

Test #7:

score: 10
Accepted
time: 0ms
memory: 504kb

input:

7778
1 2 2 2 1 1 1 2 2 2 2 2 2 1 1 1 2 2 2 2 2 2 1 1 1 2 2 2 1 1 1 1 1 1 2 2 2 1 1 1 1 1 1 2 2 2 2 2...

output:

2

result:

ok single line: '2'

Test #8:

score: 10
Accepted
time: 0ms
memory: 508kb

input:

500
0 0 1 2 3 2 2 2 2 2 1 2 2 3 3 2 2 2 3 2 1 1 1 2 2 3 2 1 1 2 2 2 2 3 2 2 2 3 2 2 1 1 0 0 0 0 0 0 ...

output:

0

result:

ok single line: '0'

Test #9:

score: 10
Accepted
time: 0ms
memory: 504kb

input:

5000
2 3 3 2 1 1 2 3 2 1 0 1 1 1 1 2 3 3 2 1 0 1 2 2 1 0 1 1 2 1 2 2 3 2 1 1 2 3 2 1 1 1 1 1 1 1 0 1...

output:

0

result:

ok single line: '0'

Test #10:

score: 10
Accepted
time: 0ms
memory: 504kb

input:

2000
1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 1 1 1 2 2 2 1 1 1 1 1 1 2 2 2 1 1 1 2 2 2 1 1 1 1 1 1 1 1 1 2 2...

output:

2

result:

ok single line: '2'