結果
問題 | No.928 軽減税率? |
ユーザー |
|
提出日時 | 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 |
ソースコード
p,q,a = map(int,input().split())ans = 0def check(x):eatin = (100+p)*x//100takeout = a + (100+q)*x//100return eatin < takeoutfor i in range(1,10**6+1):ans += check(i)if check(10**9):ans += 10**9-10**6print(ans)