結果

問題 No.928 軽減税率?
ユーザー vwxyzvwxyz
提出日時 2024-04-24 20:42:13
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 158 bytes
コンパイル時間 288 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 58,752 KB
最終ジャッジ日時 2024-04-24 20:42:23
合計ジャッジ時間 5,054 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
57,600 KB
testcase_01 AC 122 ms
58,496 KB
testcase_02 AC 94 ms
57,600 KB
testcase_03 AC 95 ms
57,600 KB
testcase_04 AC 125 ms
58,368 KB
testcase_05 AC 124 ms
58,368 KB
testcase_06 AC 124 ms
58,240 KB
testcase_07 AC 124 ms
58,496 KB
testcase_08 AC 124 ms
58,240 KB
testcase_09 AC 125 ms
58,496 KB
testcase_10 AC 125 ms
58,368 KB
testcase_11 AC 125 ms
58,752 KB
testcase_12 AC 124 ms
58,368 KB
testcase_13 AC 124 ms
58,368 KB
testcase_14 AC 124 ms
58,368 KB
testcase_15 AC 123 ms
58,496 KB
testcase_16 AC 124 ms
58,496 KB
testcase_17 AC 122 ms
58,496 KB
testcase_18 AC 122 ms
58,496 KB
testcase_19 AC 121 ms
58,624 KB
testcase_20 AC 122 ms
58,752 KB
testcase_21 AC 122 ms
58,496 KB
testcase_22 AC 57 ms
57,472 KB
testcase_23 WA -
testcase_24 AC 95 ms
57,728 KB
testcase_25 AC 82 ms
57,728 KB
testcase_26 AC 83 ms
57,728 KB
testcase_27 AC 83 ms
57,856 KB
testcase_28 AC 82 ms
58,112 KB
testcase_29 AC 83 ms
57,600 KB
testcase_30 AC 83 ms
57,856 KB
testcase_31 AC 83 ms
57,728 KB
testcase_32 AC 57 ms
57,728 KB
testcase_33 AC 83 ms
57,728 KB
testcase_34 AC 83 ms
57,856 KB
testcase_35 AC 83 ms
57,600 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

P,Q,A=map(int,input().split())
ans=0
X=10**7
for x in range(1,X+1):
    if (100+P)*x//100<(100+Q)*x//100+A:
        ans+=1
if P<Q:
    ans+=10**9-X
print(ans)
0