結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
62,336 KB
testcase_01 AC 113 ms
61,952 KB
testcase_02 AC 90 ms
62,080 KB
testcase_03 AC 83 ms
62,592 KB
testcase_04 AC 97 ms
61,696 KB
testcase_05 AC 112 ms
61,952 KB
testcase_06 AC 71 ms
61,056 KB
testcase_07 AC 73 ms
62,208 KB
testcase_08 AC 113 ms
61,824 KB
testcase_09 AC 76 ms
62,720 KB
testcase_10 AC 76 ms
62,848 KB
testcase_11 AC 91 ms
62,208 KB
testcase_12 AC 79 ms
63,360 KB
testcase_13 AC 92 ms
62,336 KB
testcase_14 AC 81 ms
62,592 KB
testcase_15 AC 78 ms
63,232 KB
testcase_16 AC 85 ms
62,960 KB
testcase_17 AC 74 ms
62,720 KB
testcase_18 AC 83 ms
62,592 KB
testcase_19 AC 76 ms
62,848 KB
testcase_20 AC 82 ms
63,744 KB
testcase_21 AC 111 ms
61,696 KB
testcase_22 AC 94 ms
63,744 KB
testcase_23 AC 90 ms
62,848 KB
testcase_24 AC 82 ms
62,976 KB
testcase_25 AC 82 ms
63,616 KB
testcase_26 AC 98 ms
63,488 KB
testcase_27 AC 94 ms
63,744 KB
testcase_28 AC 85 ms
62,720 KB
testcase_29 AC 95 ms
63,232 KB
testcase_30 AC 79 ms
63,104 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B = map(int,input().split())
ans = 10**10
for i in range(2000):
    for j in range(2000):
        if i+j>0 and 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