結果

問題 No.928 軽減税率?
ユーザー TS_KAsTS_KAs
提出日時 2019-11-22 22:28:27
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 175 bytes
コンパイル時間 337 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 65,024 KB
最終ジャッジ日時 2024-04-19 12:01:03
合計ジャッジ時間 2,515 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
51,840 KB
testcase_01 AC 40 ms
58,880 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 35 ms
59,008 KB
testcase_05 AC 36 ms
58,624 KB
testcase_06 AC 39 ms
58,624 KB
testcase_07 AC 39 ms
58,624 KB
testcase_08 AC 38 ms
59,008 KB
testcase_09 AC 38 ms
59,008 KB
testcase_10 AC 36 ms
59,008 KB
testcase_11 AC 35 ms
58,368 KB
testcase_12 AC 39 ms
58,880 KB
testcase_13 AC 36 ms
59,008 KB
testcase_14 AC 35 ms
58,496 KB
testcase_15 AC 37 ms
59,008 KB
testcase_16 AC 37 ms
58,624 KB
testcase_17 AC 44 ms
58,368 KB
testcase_18 WA -
testcase_19 AC 49 ms
58,624 KB
testcase_20 AC 46 ms
59,008 KB
testcase_21 AC 50 ms
58,624 KB
testcase_22 RE -
testcase_23 RE -
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 RE -
testcase_33 WA -
testcase_34 WA -
testcase_35 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

P, Q, A = map(int, input().split())
x = int(A / ((P-Q)/100))
cnt = 0
for i in range(x, 0, -1):
    if int(i * (1+P/100)) < int(i * (1+Q/100)) + A:
        cnt += 1
print(cnt)
0