Submission #00331
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #include<stdio.h> int main(){ int n; float a,b,c,d; scanf ( "%f" ,&n); scanf ( "%f %f" ,&a,&b); scanf ( "%f %f" ,&c,&d); if (( float )n/b*a>( float )n/d*c){ printf ( "Winner is Emiya\n" ); } if (( float )n/b*a<( float )n/d*c){ printf ( "Winner is AUO\n" ); } if (( float )n/b*a==( float )n/d*c){ printf ( "Drew\n" ); } return (0); } |
ステータス
項目 | データ |
---|---|
問題 | 0007 - 家事王VS英雄王 |
ユーザー名 | ei1710 |
投稿日時 | 2017-04-28 17:58:53 |
言語 | C |
状態 | Wrong Answer |
得点 | 0 |
ソースコード長 | 363 Byte |
最大実行時間 | 56 ms |
最大メモリ使用量 | 528 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 0 / 20 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
input01.txt | AC | 15 ms | 380 KB |
1
|
input02.txt | AC | 56 ms | 320 KB |
1
|
input03.txt | WA | 20 ms | 348 KB |
1
|
input04.txt | WA | 14 ms | 404 KB |
1
|
input05.txt | WA | 22 ms | 340 KB |
1
|
input06.txt | WA | 20 ms | 528 KB |
1
|
input07.txt | WA | 17 ms | 372 KB |
1
|
input08.txt | WA | 14 ms | 404 KB |
1
|