結果

問題 No.338 アンケート機能
ユーザー
提出日時 2016-01-30 00:31:30
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 188 bytes
コンパイル時間 46 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,272 KB
最終ジャッジ日時 2024-09-21 18:53:52
合計ジャッジ時間 1,645 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1 RE * 1
other AC * 2 WA * 11 RE * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

x,y=map(int,raw_input().split())
a=[]
for i in range(201):
  for j in range(201):
    t=i+j
    if t!=0:
      if round(100*i/t)==x and round(100*j/t)==y:
        a.append(t)
print min(a)
0