結果

問題 No.338 アンケート機能
ユーザー tkr182tkr182
提出日時 2019-02-27 14:06:52
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 209 bytes
コンパイル時間 138 ms
コンパイル使用メモリ 10,680 KB
実行使用メモリ 8,004 KB
最終ジャッジ日時 2023-09-05 09:16:13
合計ジャッジ時間 1,842 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
7,912 KB
testcase_01 AC 20 ms
7,912 KB
testcase_02 AC 21 ms
7,808 KB
testcase_03 AC 21 ms
7,856 KB
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 AC 20 ms
7,860 KB
testcase_09 RE -
testcase_10 AC 20 ms
7,860 KB
testcase_11 AC 19 ms
7,780 KB
testcase_12 AC 19 ms
7,812 KB
testcase_13 AC 19 ms
7,860 KB
testcase_14 AC 19 ms
7,844 KB
testcase_15 AC 20 ms
7,860 KB
testcase_16 AC 20 ms
7,848 KB
testcase_17 AC 19 ms
7,780 KB
testcase_18 AC 19 ms
7,804 KB
testcase_19 AC 19 ms
7,856 KB
testcase_20 RE -
testcase_21 RE -
testcase_22 RE -
testcase_23 AC 20 ms
7,864 KB
testcase_24 AC 20 ms
7,848 KB
testcase_25 RE -
testcase_26 RE -
testcase_27 RE -
testcase_28 AC 19 ms
7,904 KB
testcase_29 AC 19 ms
7,844 KB
testcase_30 AC 20 ms
7,912 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b=map(int,input().split())
round=lambda x:(x*2+1)//2
s=[]
for i in range(1,101):
    for j in range(1,101):
        if round(100*i/(i+j))==a and round(100*j/(i+j))==b:
            s.append(i+j)
print(min(s))
0