Submission #00347


ソースコード

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

ステータス

項目 データ
問題 0008 - 家事王VS英雄王
ユーザー名 r2207
投稿日時 2024-04-26 17:38:50
言語 C++17
状態 Wrong Answer
得点 0
ソースコード長 299 Byte
最大実行時間 26 ms
最大メモリ使用量 604 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input01.txt AC 14 ms 604 KB
1
input02.txt AC 20 ms 440 KB
1
input03.txt AC 15 ms 540 KB
1
input04.txt WA 21 ms 516 KB
1
input05.txt AC 18 ms 488 KB
1
input06.txt AC 20 ms 584 KB
1
input07.txt AC 18 ms 552 KB
1
input08.txt AC 26 ms 528 KB
1
input09.txt AC 18 ms 504 KB
1