結果

問題 No.928 軽減税率?
ユーザー pluto77pluto77
提出日時 2019-12-04 11:18:25
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 93 ms / 1,000 ms
コード長 206 bytes
コンパイル時間 1,271 ms
コンパイル使用メモリ 77,504 KB
実行使用メモリ 78,924 KB
最終ジャッジ日時 2023-08-20 02:39:19
合計ジャッジ時間 7,429 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
77,484 KB
testcase_01 AC 93 ms
78,788 KB
testcase_02 AC 78 ms
77,260 KB
testcase_03 AC 78 ms
77,460 KB
testcase_04 AC 91 ms
78,576 KB
testcase_05 AC 93 ms
78,632 KB
testcase_06 AC 91 ms
78,492 KB
testcase_07 AC 90 ms
78,456 KB
testcase_08 AC 92 ms
78,672 KB
testcase_09 AC 90 ms
78,660 KB
testcase_10 AC 91 ms
78,836 KB
testcase_11 AC 90 ms
78,924 KB
testcase_12 AC 90 ms
78,704 KB
testcase_13 AC 89 ms
78,712 KB
testcase_14 AC 90 ms
78,792 KB
testcase_15 AC 90 ms
78,692 KB
testcase_16 AC 90 ms
78,648 KB
testcase_17 AC 86 ms
78,480 KB
testcase_18 AC 85 ms
78,652 KB
testcase_19 AC 88 ms
78,676 KB
testcase_20 AC 90 ms
78,520 KB
testcase_21 AC 88 ms
78,596 KB
testcase_22 AC 75 ms
77,332 KB
testcase_23 AC 76 ms
77,452 KB
testcase_24 AC 77 ms
77,352 KB
testcase_25 AC 76 ms
77,216 KB
testcase_26 AC 74 ms
77,416 KB
testcase_27 AC 75 ms
77,472 KB
testcase_28 AC 76 ms
77,848 KB
testcase_29 AC 80 ms
77,428 KB
testcase_30 AC 81 ms
77,468 KB
testcase_31 AC 80 ms
77,216 KB
testcase_32 AC 76 ms
77,920 KB
testcase_33 AC 77 ms
77,436 KB
testcase_34 AC 75 ms
77,256 KB
testcase_35 AC 78 ms
77,472 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#yuki928

p,q,a=map(int,raw_input().split())
res=0
for i in range(1,2*10**6+1):
 if (100+p)*i/100<(100+q)*i/100+a:
  res+=1
if (100+p)*2*10**4<(100+q)*2*10**4+a:
 print 10**9-(2*10**6-res)
else:
 print res
0