結果

問題 No.928 軽減税率?
ユーザー vwxyzvwxyz
提出日時 2024-04-24 20:46:32
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 125 ms / 1,000 ms
コード長 172 bytes
コンパイル時間 417 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 58,752 KB
最終ジャッジ日時 2024-11-07 05:45:45
合計ジャッジ時間 5,244 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 34
権限があれば一括ダウンロードができます

ソースコード

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 and A or P<Q:
    ans+=10**9-X
print(ans)
0