Submission #00251


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdio.h>
int main(){
int a,b,c,d,n;
scanf("%d",&n);
scanf("%d %d",&a,&b);
scanf("%d %d",&c,&d);
int x,y,x1,y1;
x=n/b*a;
y=n/d*c;
if(x<y){
printf("Winner is AUO\n");
}else if(x>y){
printf("Winner is Emiya\n");
}else{
printf("Draw\n");
}
return(0);
}

ステータス

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

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
input01.txt AC 24 ms 376 KB
1
input02.txt AC 23 ms 308 KB
1
input03.txt AC 18 ms 328 KB
1
input04.txt AC 19 ms 380 KB
1
input05.txt AC 19 ms 432 KB
1
input06.txt AC 14 ms 388 KB
1
input07.txt AC 17 ms 312 KB
1
input08.txt AC 20 ms 360 KB
1
input09.txt AC 17 ms 376 KB
1