結果

問題 No.338 アンケート機能
ユーザー 👑 H20H20
提出日時 2021-01-05 14:18:46
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 203 bytes
コンパイル時間 142 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 63,616 KB
最終ジャッジ日時 2024-04-23 19:26:35
合計ジャッジ時間 3,692 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
61,644 KB
testcase_01 AC 84 ms
61,952 KB
testcase_02 AC 78 ms
61,696 KB
testcase_03 AC 77 ms
61,696 KB
testcase_04 WA -
testcase_05 AC 76 ms
61,440 KB
testcase_06 WA -
testcase_07 AC 71 ms
61,440 KB
testcase_08 AC 83 ms
61,824 KB
testcase_09 AC 72 ms
62,208 KB
testcase_10 AC 74 ms
62,592 KB
testcase_11 AC 81 ms
61,696 KB
testcase_12 AC 77 ms
63,104 KB
testcase_13 AC 84 ms
61,548 KB
testcase_14 AC 78 ms
62,592 KB
testcase_15 AC 76 ms
62,388 KB
testcase_16 AC 77 ms
61,952 KB
testcase_17 AC 79 ms
62,592 KB
testcase_18 AC 76 ms
62,208 KB
testcase_19 AC 80 ms
62,208 KB
testcase_20 AC 83 ms
63,616 KB
testcase_21 AC 81 ms
61,824 KB
testcase_22 AC 88 ms
63,232 KB
testcase_23 AC 89 ms
62,208 KB
testcase_24 AC 85 ms
62,592 KB
testcase_25 AC 79 ms
63,360 KB
testcase_26 AC 91 ms
63,488 KB
testcase_27 AC 87 ms
63,360 KB
testcase_28 AC 88 ms
62,288 KB
testcase_29 AC 75 ms
62,080 KB
testcase_30 AC 80 ms
62,592 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B = map(int,input().split())
ans = 10**10
for i in range(1,2000):
    for j in range(1,2000):
        if A-0.5<=100*i/(i+j)<A+0.5 and B-0.5<=100*j/(i+j)<B+0.5:
            ans = min(ans,i+j)
print(ans)
0