結果
| 問題 | No.928 軽減税率? |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-01-25 22:57:40 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 212 bytes |
| 記録 | |
| コンパイル時間 | 278 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-09-14 04:17:12 |
| 合計ジャッジ時間 | 18,273 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 17 WA * 10 TLE * 7 |
ソースコード
p, q, a = map(int, input().strip().split())
mx = 1000000000
if int((1+p/100)*mx) < int((1+q/100)*mx)+a:
print(mx)
else:
print(sum(1 for x in range(1, 200*a) if int((1+p/100)*x) < int((1+q/100)*x)+a))