結果
| 問題 | No.338 アンケート機能 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-01-29 23:09:02 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 100 ms / 2,000 ms |
| コード長 | 280 bytes |
| 記録 | |
| コンパイル時間 | 123 ms |
| コンパイル使用メモリ | 77,592 KB |
| 最終ジャッジ日時 | 2025-12-03 19:09:44 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 28 |
ソースコード
def AorB():
AAA,BBB = map(int,raw_input().split(" "))
ans = []
for i in range(0, 300):
for j in range(0, 300):
if i+j== 0:
continue
if round(100.0*i/(i+j), 0) == AAA and round(100.0*j/(i+j), 0) == BBB:
ans.append(i+j)
print min(ans)
AorB()