結果

問題 No.928 軽減税率?
ユーザー Konton7Konton7
提出日時 2019-11-22 22:00:07
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 209 bytes
コンパイル時間 137 ms
コンパイル使用メモリ 82,324 KB
実行使用メモリ 61,088 KB
最終ジャッジ日時 2024-04-19 11:24:18
合計ジャッジ時間 3,085 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 51 ms
59,264 KB
testcase_01 AC 70 ms
60,416 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 69 ms
60,800 KB
testcase_05 AC 66 ms
60,800 KB
testcase_06 AC 63 ms
60,800 KB
testcase_07 AC 62 ms
60,416 KB
testcase_08 AC 64 ms
60,416 KB
testcase_09 AC 64 ms
60,288 KB
testcase_10 AC 63 ms
60,416 KB
testcase_11 AC 64 ms
60,288 KB
testcase_12 AC 67 ms
60,416 KB
testcase_13 AC 64 ms
60,416 KB
testcase_14 AC 64 ms
60,928 KB
testcase_15 AC 65 ms
60,416 KB
testcase_16 AC 62 ms
60,288 KB
testcase_17 AC 58 ms
60,288 KB
testcase_18 WA -
testcase_19 AC 60 ms
60,672 KB
testcase_20 AC 58 ms
60,800 KB
testcase_21 AC 57 ms
60,288 KB
testcase_22 AC 42 ms
59,008 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 45 ms
59,264 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,2*10**6):
    if compare(i):
        ans += 1
print(ans)
0