結果

問題 No.928 軽減税率?
ユーザー titiatitia
提出日時 2019-11-23 00:09:44
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 914 ms / 1,000 ms
コード長 210 bytes
コンパイル時間 163 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-04-19 14:06:25
合計ジャッジ時間 30,071 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 702 ms
10,880 KB
testcase_01 AC 687 ms
10,752 KB
testcase_02 AC 906 ms
10,752 KB
testcase_03 AC 895 ms
10,624 KB
testcase_04 AC 698 ms
10,624 KB
testcase_05 AC 693 ms
10,624 KB
testcase_06 AC 743 ms
10,752 KB
testcase_07 AC 713 ms
10,624 KB
testcase_08 AC 693 ms
10,624 KB
testcase_09 AC 711 ms
10,624 KB
testcase_10 AC 723 ms
10,624 KB
testcase_11 AC 697 ms
10,624 KB
testcase_12 AC 738 ms
10,624 KB
testcase_13 AC 731 ms
10,752 KB
testcase_14 AC 698 ms
10,624 KB
testcase_15 AC 708 ms
10,624 KB
testcase_16 AC 716 ms
10,624 KB
testcase_17 AC 787 ms
10,752 KB
testcase_18 AC 810 ms
10,624 KB
testcase_19 AC 804 ms
10,624 KB
testcase_20 AC 788 ms
10,624 KB
testcase_21 AC 779 ms
10,624 KB
testcase_22 AC 710 ms
10,624 KB
testcase_23 AC 881 ms
10,752 KB
testcase_24 AC 852 ms
10,624 KB
testcase_25 AC 890 ms
10,752 KB
testcase_26 AC 879 ms
10,752 KB
testcase_27 AC 872 ms
10,624 KB
testcase_28 AC 905 ms
10,752 KB
testcase_29 AC 880 ms
10,624 KB
testcase_30 AC 871 ms
10,624 KB
testcase_31 AC 875 ms
10,624 KB
testcase_32 AC 681 ms
10,624 KB
testcase_33 AC 894 ms
10,624 KB
testcase_34 AC 862 ms
10,752 KB
testcase_35 AC 914 ms
10,752 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

P,Q,A=map(int,input().split())
ANS=0
for i in range(1,2*10**6+1):
    if (100+P)*i//100<(100+Q)*i//100+A:
        ANS+=1

if (100+P)*i//100<(100+Q)*i//100+A:
    print(10**9-(2*10**6-ANS))

else:
    print(ANS)
0