QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#37639#1259. Game On BoardHuangHanShengAC ✓2ms3760kbC++11308b2022-07-02 13:12:062022-07-02 13:12:07

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 3608kb

input:

1 1

output:

1

result:

ok answer is '1'

Test #2:

score: 0
Accepted
time: 2ms
memory: 3736kb

input:

2 2

output:

4

result:

ok answer is '4'

Test #3:

score: 0
Accepted
time: 2ms
memory: 3696kb

input:

1 100000000

output:

1

result:

ok answer is '1'

Test #4:

score: 0
Accepted
time: 2ms
memory: 3736kb

input:

1000000000 1

output:

1

result:

ok answer is '1'

Test #5:

score: 0
Accepted
time: 2ms
memory: 3664kb

input:

998244353 1

output:

1

result:

ok answer is '1'

Test #6:

score: 0
Accepted
time: 2ms
memory: 3760kb

input:

2 998244353

output:

0

result:

ok answer is '0'

Test #7:

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

input:

998244353 1000000000

output:

0

result:

ok answer is '0'

Test #8:

score: 0
Accepted
time: 2ms
memory: 3696kb

input:

1000000000 1000000000

output:

246032221

result:

ok answer is '246032221'

Test #9:

score: 0
Accepted
time: 2ms
memory: 3744kb

input:

654654 765433688

output:

931405037

result:

ok answer is '931405037'

Test #10:

score: 0
Accepted
time: 2ms
memory: 3728kb

input:

1000000000 999999999

output:

204552645

result:

ok answer is '204552645'

Test #11:

score: 0
Accepted
time: 2ms
memory: 3744kb

input:

666666666 777777777

output:

487109550

result:

ok answer is '487109550'

Test #12:

score: 0
Accepted
time: 2ms
memory: 3728kb

input:

998244353 998244353

output:

0

result:

ok answer is '0'