結果

問題 No.928 軽減税率?
ユーザー Yamada
提出日時 2019-11-25 20:45:24
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 233 bytes
コンパイル時間 82 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-10-14 14:16:28
合計ジャッジ時間 1,963 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 20 WA * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

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