結果

問題 No.928 軽減税率?
ユーザー LaikaLaika
提出日時 2020-01-25 22:57:40
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 212 bytes
コンパイル時間 237 ms
コンパイル使用メモリ 10,704 KB
実行使用メモリ 7,960 KB
最終ジャッジ日時 2023-10-12 04:46:13
合計ジャッジ時間 12,878 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
7,756 KB
testcase_01 AC 21 ms
7,828 KB
testcase_02 AC 16 ms
7,868 KB
testcase_03 AC 16 ms
7,760 KB
testcase_04 AC 171 ms
7,744 KB
testcase_05 AC 408 ms
7,748 KB
testcase_06 AC 370 ms
7,908 KB
testcase_07 AC 630 ms
7,956 KB
testcase_08 AC 472 ms
7,760 KB
testcase_09 AC 577 ms
7,900 KB
testcase_10 AC 381 ms
7,788 KB
testcase_11 AC 367 ms
7,760 KB
testcase_12 AC 806 ms
7,836 KB
testcase_13 AC 276 ms
7,836 KB
testcase_14 AC 815 ms
7,896 KB
testcase_15 AC 325 ms
7,808 KB
testcase_16 AC 687 ms
7,908 KB
testcase_17 AC 941 ms
7,876 KB
testcase_18 WA -
testcase_19 AC 939 ms
7,796 KB
testcase_20 AC 941 ms
7,900 KB
testcase_21 AC 937 ms
7,760 KB
testcase_22 AC 16 ms
7,804 KB
testcase_23 AC 16 ms
7,828 KB
testcase_24 AC 16 ms
7,676 KB
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 AC 16 ms
7,760 KB
testcase_33 WA -
testcase_34 WA -
testcase_35 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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))
    
0