QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#88208#50. KnightZhangYiDe100 ✓3ms3416kbC++231.0kb2023-03-15 16:09:272023-03-15 16:09:31

详细

Test #1:

score: 1
Accepted
time: 2ms
memory: 3412kb

input:

b4
b2

output:

2

result:

ok single line: '2'

Test #2:

score: 1
Accepted
time: 1ms
memory: 3288kb

input:

h1
h2

output:

3

result:

ok single line: '3'

Test #3:

score: 1
Accepted
time: 2ms
memory: 3340kb

input:

h1
a8

output:

6

result:

ok single line: '6'

Test #4:

score: 1
Accepted
time: 0ms
memory: 3412kb

input:

b2
f7

output:

3

result:

ok single line: '3'

Test #5:

score: 1
Accepted
time: 0ms
memory: 3384kb

input:

d5
d3

output:

2

result:

ok single line: '2'

Test #6:

score: 1
Accepted
time: 2ms
memory: 3280kb

input:

h2
a4

output:

5

result:

ok single line: '5'

Test #7:

score: 1
Accepted
time: 2ms
memory: 3412kb

input:

e8
b4

output:

3

result:

ok single line: '3'

Test #8:

score: 1
Accepted
time: 2ms
memory: 3412kb

input:

f3
c2

output:

2

result:

ok single line: '2'

Test #9:

score: 1
Accepted
time: 2ms
memory: 3280kb

input:

f4
a6

output:

3

result:

ok single line: '3'

Test #10:

score: 1
Accepted
time: 0ms
memory: 3308kb

input:

f6
g6

output:

3

result:

ok single line: '3'

Test #11:

score: 1
Accepted
time: 2ms
memory: 3388kb

input:

h4
h5

output:

3

result:

ok single line: '3'

Test #12:

score: 1
Accepted
time: 2ms
memory: 3280kb

input:

d2
g7

output:

4

result:

ok single line: '4'

Test #13:

score: 1
Accepted
time: 2ms
memory: 3312kb

input:

c1
e7

output:

4

result:

ok single line: '4'

Test #14:

score: 1
Accepted
time: 2ms
memory: 3280kb

input:

a4
h5

output:

4

result:

ok single line: '4'

Test #15:

score: 1
Accepted
time: 2ms
memory: 3260kb

input:

f2
a6

output:

3

result:

ok single line: '3'

Test #16:

score: 1
Accepted
time: 1ms
memory: 3336kb

input:

e8
d1

output:

4

result:

ok single line: '4'

Test #17:

score: 1
Accepted
time: 2ms
memory: 3284kb

input:

g3
b3

output:

3

result:

ok single line: '3'

Test #18:

score: 1
Accepted
time: 2ms
memory: 3336kb

input:

f7
h2

output:

3

result:

ok single line: '3'

Test #19:

score: 1
Accepted
time: 2ms
memory: 3352kb

input:

b8
h3

output:

5

result:

ok single line: '5'

Test #20:

score: 1
Accepted
time: 2ms
memory: 3336kb

input:

g4
a4

output:

4

result:

ok single line: '4'

Test #21:

score: 1
Accepted
time: 2ms
memory: 3280kb

input:

h7
h7

output:

0

result:

ok single line: '0'

Test #22:

score: 1
Accepted
time: 2ms
memory: 3388kb

input:

b2
b4

output:

2

result:

ok single line: '2'

Test #23:

score: 1
Accepted
time: 1ms
memory: 3332kb

input:

g2
b5

output:

4

result:

ok single line: '4'

Test #24:

score: 1
Accepted
time: 2ms
memory: 3308kb

input:

g2
g8

output:

4

result:

ok single line: '4'

Test #25:

score: 1
Accepted
time: 2ms
memory: 3340kb

input:

e1
a2

output:

3

result:

ok single line: '3'

Test #26:

score: 1
Accepted
time: 0ms
memory: 3276kb

input:

b2
e8

output:

3

result:

ok single line: '3'

Test #27:

score: 1
Accepted
time: 2ms
memory: 3352kb

input:

e2
c4

output:

4

result:

ok single line: '4'

Test #28:

score: 1
Accepted
time: 2ms
memory: 3288kb

input:

g1
d3

output:

3

result:

ok single line: '3'

Test #29:

score: 1
Accepted
time: 2ms
memory: 3284kb

input:

g4
d1

output:

2

result:

ok single line: '2'

Test #30:

score: 1
Accepted
time: 2ms
memory: 3308kb

input:

g1
e5

output:

2

result:

ok single line: '2'

Test #31:

score: 1
Accepted
time: 2ms
memory: 3284kb

input:

h4
f4

output:

2

result:

ok single line: '2'

Test #32:

score: 1
Accepted
time: 2ms
memory: 3288kb

input:

c2
d8

output:

3

result:

ok single line: '3'

Test #33:

score: 1
Accepted
time: 2ms
memory: 3348kb

input:

c1
g7

output:

4

result:

ok single line: '4'

Test #34:

score: 1
Accepted
time: 2ms
memory: 3296kb

input:

g8
b1

output:

4

result:

ok single line: '4'

Test #35:

score: 1
Accepted
time: 2ms
memory: 3340kb

input:

a7
c5

output:

4

result:

ok single line: '4'

Test #36:

score: 1
Accepted
time: 2ms
memory: 3412kb

input:

e8
h3

output:

4

result:

ok single line: '4'

Test #37:

score: 1
Accepted
time: 2ms
memory: 3256kb

input:

h8
c8

output:

3

result:

ok single line: '3'

Test #38:

score: 1
Accepted
time: 0ms
memory: 3284kb

input:

g8
c5

output:

3

result:

ok single line: '3'

Test #39:

score: 1
Accepted
time: 2ms
memory: 3292kb

input:

a7
b8

output:

2

result:

ok single line: '2'

Test #40:

score: 1
Accepted
time: 1ms
memory: 3288kb

input:

a6
g4

output:

4

result:

ok single line: '4'

Test #41:

score: 1
Accepted
time: 2ms
memory: 3284kb

input:

c8
g3

output:

3

result:

ok single line: '3'

Test #42:

score: 1
Accepted
time: 2ms
memory: 3284kb

input:

h8
e2

output:

3

result:

ok single line: '3'

Test #43:

score: 1
Accepted
time: 2ms
memory: 3292kb

input:

f4
g4

output:

3

result:

ok single line: '3'

Test #44:

score: 1
Accepted
time: 0ms
memory: 3280kb

input:

e2
a3

output:

3

result:

ok single line: '3'

Test #45:

score: 1
Accepted
time: 2ms
memory: 3312kb

input:

a3
h3

output:

5

result:

ok single line: '5'

Test #46:

score: 1
Accepted
time: 2ms
memory: 3280kb

input:

g6
h2

output:

3

result:

ok single line: '3'

Test #47:

score: 1
Accepted
time: 2ms
memory: 3332kb

input:

g3
g8

output:

3

result:

ok single line: '3'

Test #48:

score: 1
Accepted
time: 0ms
memory: 3412kb

input:

g6
c1

output:

3

result:

ok single line: '3'

Test #49:

score: 1
Accepted
time: 2ms
memory: 3336kb

input:

a8
b8

output:

3

result:

ok single line: '3'

Test #50:

score: 1
Accepted
time: 2ms
memory: 3280kb

input:

e8
c2

output:

4

result:

ok single line: '4'

Test #51:

score: 1
Accepted
time: 2ms
memory: 3284kb

input:

d4
b2

output:

4

result:

ok single line: '4'

Test #52:

score: 1
Accepted
time: 2ms
memory: 3284kb

input:

g7
b1

output:

5

result:

ok single line: '5'

Test #53:

score: 1
Accepted
time: 0ms
memory: 3412kb

input:

b2
f4

output:

2

result:

ok single line: '2'

Test #54:

score: 1
Accepted
time: 2ms
memory: 3384kb

input:

h5
a1

output:

5

result:

ok single line: '5'

Test #55:

score: 1
Accepted
time: 1ms
memory: 3260kb

input:

b1
e8

output:

4

result:

ok single line: '4'

Test #56:

score: 1
Accepted
time: 2ms
memory: 3388kb

input:

g7
h4

output:

2

result:

ok single line: '2'

Test #57:

score: 1
Accepted
time: 0ms
memory: 3340kb

input:

h4
g8

output:

3

result:

ok single line: '3'

Test #58:

score: 1
Accepted
time: 2ms
memory: 3412kb

input:

f6
f4

output:

2

result:

ok single line: '2'

Test #59:

score: 1
Accepted
time: 3ms
memory: 3280kb

input:

d2
d5

output:

3

result:

ok single line: '3'

Test #60:

score: 1
Accepted
time: 1ms
memory: 3388kb

input:

g4
b6

output:

3

result:

ok single line: '3'

Test #61:

score: 1
Accepted
time: 0ms
memory: 3284kb

input:

e1
c8

output:

5

result:

ok single line: '5'

Test #62:

score: 1
Accepted
time: 2ms
memory: 3340kb

input:

f3
d4

output:

1

result:

ok single line: '1'

Test #63:

score: 1
Accepted
time: 0ms
memory: 3280kb

input:

a7
b5

output:

1

result:

ok single line: '1'

Test #64:

score: 1
Accepted
time: 2ms
memory: 3292kb

input:

h4
g7

output:

2

result:

ok single line: '2'

Test #65:

score: 1
Accepted
time: 2ms
memory: 3264kb

input:

h3
a3

output:

5

result:

ok single line: '5'

Test #66:

score: 1
Accepted
time: 2ms
memory: 3284kb

input:

h7
d4

output:

3

result:

ok single line: '3'

Test #67:

score: 1
Accepted
time: 2ms
memory: 3264kb

input:

a3
h4

output:

4

result:

ok single line: '4'

Test #68:

score: 1
Accepted
time: 2ms
memory: 3408kb

input:

d7
e5

output:

1

result:

ok single line: '1'

Test #69:

score: 1
Accepted
time: 2ms
memory: 3292kb

input:

f4
h6

output:

4

result:

ok single line: '4'

Test #70:

score: 1
Accepted
time: 0ms
memory: 3312kb

input:

d8
c8

output:

3

result:

ok single line: '3'

Test #71:

score: 1
Accepted
time: 2ms
memory: 3264kb

input:

e1
a4

output:

3

result:

ok single line: '3'

Test #72:

score: 1
Accepted
time: 0ms
memory: 3260kb

input:

g2
a3

output:

3

result:

ok single line: '3'

Test #73:

score: 1
Accepted
time: 1ms
memory: 3352kb

input:

f6
d1

output:

3

result:

ok single line: '3'

Test #74:

score: 1
Accepted
time: 0ms
memory: 3284kb

input:

e1
h4

output:

2

result:

ok single line: '2'

Test #75:

score: 1
Accepted
time: 2ms
memory: 3408kb

input:

h7
f8

output:

1

result:

ok single line: '1'

Test #76:

score: 1
Accepted
time: 0ms
memory: 3288kb

input:

d7
c6

output:

2

result:

ok single line: '2'

Test #77:

score: 1
Accepted
time: 2ms
memory: 3288kb

input:

e5
c1

output:

2

result:

ok single line: '2'

Test #78:

score: 1
Accepted
time: 2ms
memory: 3356kb

input:

f1
d2

output:

1

result:

ok single line: '1'

Test #79:

score: 1
Accepted
time: 3ms
memory: 3336kb

input:

b3
h6

output:

3

result:

ok single line: '3'

Test #80:

score: 1
Accepted
time: 0ms
memory: 3408kb

input:

e7
g2

output:

3

result:

ok single line: '3'

Test #81:

score: 1
Accepted
time: 2ms
memory: 3332kb

input:

h3
e5

output:

3

result:

ok single line: '3'

Test #82:

score: 1
Accepted
time: 2ms
memory: 3284kb

input:

c3
h2

output:

4

result:

ok single line: '4'

Test #83:

score: 1
Accepted
time: 2ms
memory: 3280kb

input:

d4
b8

output:

2

result:

ok single line: '2'

Test #84:

score: 1
Accepted
time: 2ms
memory: 3276kb

input:

c2
e5

output:

3

result:

ok single line: '3'

Test #85:

score: 1
Accepted
time: 2ms
memory: 3284kb

input:

b8
a3

output:

4

result:

ok single line: '4'

Test #86:

score: 1
Accepted
time: 2ms
memory: 3416kb

input:

e5
h8

output:

2

result:

ok single line: '2'

Test #87:

score: 1
Accepted
time: 2ms
memory: 3284kb

input:

g5
g2

output:

3

result:

ok single line: '3'

Test #88:

score: 1
Accepted
time: 2ms
memory: 3336kb

input:

f3
a1

output:

3

result:

ok single line: '3'

Test #89:

score: 1
Accepted
time: 2ms
memory: 3284kb

input:

e7
e5

output:

2

result:

ok single line: '2'

Test #90:

score: 1
Accepted
time: 0ms
memory: 3292kb

input:

f3
c3

output:

3

result:

ok single line: '3'

Test #91:

score: 1
Accepted
time: 2ms
memory: 3288kb

input:

g5
e6

output:

1

result:

ok single line: '1'

Test #92:

score: 1
Accepted
time: 2ms
memory: 3408kb

input:

e7
e6

output:

3

result:

ok single line: '3'

Test #93:

score: 1
Accepted
time: 2ms
memory: 3280kb

input:

a4
d6

output:

3

result:

ok single line: '3'

Test #94:

score: 1
Accepted
time: 2ms
memory: 3352kb

input:

b6
h6

output:

4

result:

ok single line: '4'

Test #95:

score: 1
Accepted
time: 2ms
memory: 3336kb

input:

b7
b2

output:

3

result:

ok single line: '3'

Test #96:

score: 1
Accepted
time: 2ms
memory: 3352kb

input:

a6
f2

output:

3

result:

ok single line: '3'

Test #97:

score: 1
Accepted
time: 2ms
memory: 3268kb

input:

b2
e2

output:

3

result:

ok single line: '3'

Test #98:

score: 1
Accepted
time: 0ms
memory: 3332kb

input:

e4
d4

output:

3

result:

ok single line: '3'

Test #99:

score: 1
Accepted
time: 2ms
memory: 3284kb

input:

b8
c7

output:

2

result:

ok single line: '2'

Test #100:

score: 1
Accepted
time: 1ms
memory: 3412kb

input:

a1
h8

output:

6

result:

ok single line: '6'