結果
問題 |
No.338 アンケート機能
|
ユーザー |
|
提出日時 | 2016-01-30 00:26:59 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 31 ms / 2,000 ms |
コード長 | 196 bytes |
コンパイル時間 | 264 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,272 KB |
最終ジャッジ日時 | 2024-11-08 02:55:50 |
合計ジャッジ時間 | 2,182 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 28 |
ソースコード
x,y=map(int,raw_input().split()) a=[] z=100.0 for i in range(201): for j in range(201): t=i+j if t!=0: if round(z*i/t,0)==x and round(z*j/t,0)==y: a.append(t) print min(a)