結果

問題 No.928 軽減税率?
ユーザー Konton7Konton7
提出日時 2019-11-22 22:01:25
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 209 bytes
コンパイル時間 133 ms
コンパイル使用メモリ 82,368 KB
実行使用メモリ 62,396 KB
最終ジャッジ日時 2024-04-19 11:25:35
合計ジャッジ時間 4,037 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
59,872 KB
testcase_01 AC 108 ms
61,136 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 102 ms
60,876 KB
testcase_05 AC 104 ms
60,832 KB
testcase_06 AC 103 ms
60,600 KB
testcase_07 AC 104 ms
60,536 KB
testcase_08 AC 105 ms
61,144 KB
testcase_09 AC 102 ms
61,904 KB
testcase_10 AC 102 ms
61,700 KB
testcase_11 AC 102 ms
60,740 KB
testcase_12 AC 101 ms
61,080 KB
testcase_13 AC 93 ms
60,696 KB
testcase_14 AC 100 ms
61,548 KB
testcase_15 AC 100 ms
60,600 KB
testcase_16 AC 101 ms
60,872 KB
testcase_17 AC 96 ms
60,888 KB
testcase_18 WA -
testcase_19 AC 94 ms
60,860 KB
testcase_20 AC 93 ms
60,692 KB
testcase_21 AC 96 ms
61,360 KB
testcase_22 AC 50 ms
58,992 KB
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 AC 49 ms
59,168 KB
testcase_33 WA -
testcase_34 WA -
testcase_35 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

p, q, a = [ int(v) for v in input().split() ]

def compare(k):
    return int((1.0+(p/100.0))*k) < int((1.0+(q/100.0))*k) + a

ans = 0
for i in range(1,5*10**6):
    if compare(i):
        ans += 1
print(ans)
0