Submission #00100
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #include <stdio.h> int main(){ int n,a,b,c,d,e,f; scanf ( "%d %d %d %d %d" ,&n,&a,&b,&c,&d); e=n/a; f=n/c; e=e*b; f=f*d; if (e<f &&a!=0 &&b!=0){ printf ( "Winner is Emiya\n" ); } else if (f<e &&c!=0 &&d!=0){ printf ( "Winner is AUO\n" ); } else { printf ( "Draw\n" ); } return (0); } |
ステータス
項目 | データ |
---|---|
問題 | 0002 - 家事王VS英雄王 |
ユーザー名 | ei2225 |
投稿日時 | 2022-05-23 18:01:42 |
言語 | C |
状態 | Wrong Answer |
得点 | 0 |
ソースコード長 | 351 Byte |
最大実行時間 | 23 ms |
最大メモリ使用量 | 448 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 0 / 1 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
input01.txt | AC | 23 ms | 376 KB |
1
|
input02.txt | AC | 14 ms | 396 KB |
1
|
input03.txt | AC | 15 ms | 444 KB |
1
|
input04.txt | WA | 17 ms | 396 KB |
1
|
input05.txt | AC | 22 ms | 416 KB |
1
|
input06.txt | AC | 18 ms | 380 KB |
1
|
input07.txt | AC | 18 ms | 392 KB |
1
|
input08.txt | AC | 20 ms | 448 KB |
1
|
input09.txt | AC | 18 ms | 408 KB |
1
|