QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#335564#2921. Land EqualityZhaoZiLongRE 11ms10080kbPython3993b2024-02-23 16:14:122024-02-23 16:14:12

詳細信息

Test #1:

score: 100
Accepted
time: 5ms
memory: 9888kb

input:

1 2
0 1

output:

1

result:

ok single line: '1'

Test #2:

score: 0
Accepted
time: 11ms
memory: 9948kb

input:

1 2
0 2

output:

2

result:

ok single line: '2'

Test #3:

score: 0
Accepted
time: 11ms
memory: 9956kb

input:

1 2
1 2

output:

1

result:

ok single line: '1'

Test #4:

score: 0
Accepted
time: 11ms
memory: 10044kb

input:

2 1
1
1

output:

0

result:

ok single line: '0'

Test #5:

score: 0
Accepted
time: 8ms
memory: 9916kb

input:

2 1
0
0

output:

0

result:

ok single line: '0'

Test #6:

score: 0
Accepted
time: 11ms
memory: 9860kb

input:

5 5
2 2 2 2 2
2 2 1 2 2
2 1 1 1 2
2 2 1 2 2
2 2 2 2 2

output:

0

result:

ok single line: '0'

Test #7:

score: 0
Accepted
time: 11ms
memory: 10080kb

input:

5 5
2 2 2 2 2
2 2 1 2 2
2 1 1 1 2
2 2 1 1 2
2 2 2 2 2

output:

512

result:

ok single line: '512'

Test #8:

score: -100
Dangerous Syscalls

input:

2 3
0 1 2
1 1 2

output:


result: