Submission #00303


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
n = int(input())
a, b = map(int, input().split())
c, d = map(int, input().split())
em = a*(b//n)
auo = c*(d//n)
if em > auo:
print("Winner is Emiya")
elif em < auo:
print("Winner is AUO")
else:
print("Draw")

ステータス

項目 データ
問題 0008 - 家事王VS英雄王
ユーザー名 ei2207
投稿日時 2024-04-26 16:53:14
言語 C++
状態 Compile Error
得点 0
ソースコード長 235 Byte
最大実行時間 -
最大メモリ使用量

コンパイルメッセージ

./Main.cpp:2:1: error: ‘n’ does not name a type
 n = int(input())
 ^

セット

セット 得点 Cases

テストケース

ファイル名 状態 実行時間 メモリ使用量 #