結果

問題 No.338 アンケート機能
ユーザー
提出日時 2016-01-29 23:05:47
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 245 bytes
コンパイル時間 80 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 6,272 KB
最終ジャッジ日時 2024-09-21 18:34:45
合計ジャッジ時間 1,653 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 26 RE * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

def AorB():
  AAA,BBB = map(int,raw_input().split(" "))
  ans = []
  for i in range(1, 200):
    for j in range(1, 200):
      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()
0