Submission #00162


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <bits/stdc++.h>
using namespace std;
#define fin << "\n"
#define lol long long int
int main () {
lol n;
lol a , b;
lol c , d;
cin >> n >> a >> b >> c >> d;
lol f , g;
f = a * (n / b);
g = c * (n / d);
if(f < g) cout << "Winner is AUO\n";
if(g < f) cout << "Winner is Emiya\n";
if(f == g) cout << "Draw\n";
}

ステータス

項目 データ
問題 0008 - 家事王VS英雄王
ユーザー名 Koba_gochiusa
投稿日時 2024-04-26 16:17:08
言語 C++17
状態 Accepted
得点 10
ソースコード長 371 Byte
最大実行時間 25 ms
最大メモリ使用量 596 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input01.txt AC 23 ms 348 KB
1
input02.txt AC 22 ms 324 KB
1
input03.txt AC 21 ms 296 KB
1
input04.txt AC 20 ms 396 KB
1
input05.txt AC 25 ms 492 KB
1
input06.txt AC 20 ms 596 KB
1
input07.txt AC 25 ms 572 KB
1
input08.txt AC 23 ms 548 KB
1
input09.txt AC 21 ms 520 KB
1