結果

問題 No.928 軽減税率?
ユーザー aaaaaaaaaa2230
提出日時 2022-05-16 23:11:45
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 60 ms / 1,000 ms
コード長 244 bytes
コンパイル時間 158 ms
コンパイル使用メモリ 82,276 KB
実行使用メモリ 59,648 KB
最終ジャッジ日時 2024-09-14 16:24:20
合計ジャッジ時間 3,431 ms
ジャッジサーバーID
(参考情報)
judge6 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 34
権限があれば一括ダウンロードができます

ソースコード

diff #

p,q,a = map(int,input().split())

ans = 0
def check(x):

    eatin = (100+p)*x//100
    takeout = a + (100+q)*x//100
    return eatin < takeout

for i in range(1,10**6+1):
    ans += check(i)

if check(10**9):
    ans += 10**9-10**6

print(ans)
0