QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#368161 | #3916. A Bishop's Journey | KLPP# | WA | 10ms | 9560kb | Python3 | 89b | 2024-03-26 21:19:36 | 2024-03-26 21:19:36 |
Judging History
answer
n,m=map(int,input().split(" "))
import math
print(math.lcm(n-1,m-1)%(pow(10,18)+7))
詳細信息
Test #1:
score: 100
Accepted
time: 4ms
memory: 9560kb
input:
15 22
output:
42
result:
ok 1 number(s): "42"
Test #2:
score: -100
Wrong Answer
time: 10ms
memory: 9440kb
input:
5 4
output:
12
result:
wrong answer 1st numbers differ - expected: '10', found: '12'