結果
| 問題 | No.928 軽減税率? |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-05-16 23:11:45 |
| 言語 | PyPy3 (7.3.23 + ac-library) |
| 結果 |
AC
不安定
|
| 実行時間 | 76 ms / 1,000 ms |
| + 368µs | |
| コード長 | 244 bytes |
| 記録 | |
| コンパイル時間 | 282 ms |
| コンパイル使用メモリ | 96,112 KB |
| 実行使用メモリ | 83,456 KB |
| 最終ジャッジ日時 | 2026-08-27 06:46:11 |
| 合計ジャッジ時間 | 5,237 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 34 |
ソースコード
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)