Submission #00271


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import math
from turtle import RawPen
n = int(input())
a, b = map(int, input().split())
c, d = map(int, input().split())
rop = math.lcm(b, d)
a *= rop
c *= rop
if a > c:
print("Winner is Emiya")
elif a < c:
print("Winner is AUO")
else:
print("Draw")

ステータス

項目 データ
問題 0008 - 家事王VS英雄王
ユーザー名 ei2207
投稿日時 2024-04-26 16:42:31
言語 Python3
状態 Runtime Error
得点 0
ソースコード長 278 Byte
最大実行時間 239 ms
最大メモリ使用量 8388 KB

セット

セット 得点 Cases
1 ALL 0 / 10 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input01.txt RE 239 ms 8364 KB
1
input02.txt RE 74 ms 8348 KB
1
input03.txt RE 75 ms 8204 KB
1
input04.txt RE 72 ms 8300 KB
1
input05.txt RE 73 ms 8292 KB
1
input06.txt RE 79 ms 8388 KB
1
input07.txt RE 74 ms 8236 KB
1
input08.txt RE 72 ms 8200 KB
1
input09.txt RE 73 ms 8276 KB
1