結果

問題 No.338 アンケート機能
ユーザー fumofumofunifumofumofuni
提出日時 2021-09-14 14:17:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 96 ms / 2,000 ms
コード長 241 bytes
コンパイル時間 421 ms
コンパイル使用メモリ 87,240 KB
実行使用メモリ 76,316 KB
最終ジャッジ日時 2023-09-09 11:02:46
合計ジャッジ時間 4,217 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,440 KB
testcase_01 AC 70 ms
75,580 KB
testcase_02 AC 67 ms
71,144 KB
testcase_03 AC 70 ms
71,080 KB
testcase_04 AC 67 ms
71,408 KB
testcase_05 AC 96 ms
76,316 KB
testcase_06 AC 65 ms
71,292 KB
testcase_07 AC 70 ms
75,604 KB
testcase_08 AC 65 ms
71,284 KB
testcase_09 AC 69 ms
75,672 KB
testcase_10 AC 65 ms
71,080 KB
testcase_11 AC 64 ms
71,292 KB
testcase_12 AC 67 ms
71,204 KB
testcase_13 AC 65 ms
71,340 KB
testcase_14 AC 67 ms
71,416 KB
testcase_15 AC 65 ms
71,560 KB
testcase_16 AC 64 ms
71,276 KB
testcase_17 AC 70 ms
71,192 KB
testcase_18 AC 67 ms
71,288 KB
testcase_19 AC 67 ms
71,056 KB
testcase_20 AC 73 ms
75,744 KB
testcase_21 AC 75 ms
76,308 KB
testcase_22 AC 73 ms
75,788 KB
testcase_23 AC 68 ms
71,408 KB
testcase_24 AC 68 ms
71,464 KB
testcase_25 AC 74 ms
75,672 KB
testcase_26 AC 73 ms
75,904 KB
testcase_27 AC 75 ms
75,944 KB
testcase_28 AC 68 ms
71,400 KB
testcase_29 AC 69 ms
71,144 KB
testcase_30 AC 67 ms
71,084 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B=map(int,input().split())
for i in range(1,100000):
    for j in range(i+1):
        if A*10-5<=1000*j//i and 1000*j//i<A*10+5:
            if B*10-5<=1000*(i-j)//i and 1000*(i-j)//i<B*10+5:
                print(i)
                exit()
0