結果
問題 | No.928 軽減税率? |
ユーザー |
|
提出日時 | 2019-12-04 11:18:25 |
言語 | PyPy2 (7.3.15) |
結果 |
AC
|
実行時間 | 107 ms / 1,000 ms |
コード長 | 206 bytes |
コンパイル時間 | 1,615 ms |
コンパイル使用メモリ | 76,448 KB |
実行使用メモリ | 76,928 KB |
最終ジャッジ日時 | 2024-11-30 01:58:53 |
合計ジャッジ時間 | 6,594 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 34 |
ソースコード
#yuki928p,q,a=map(int,raw_input().split())res=0for i in range(1,2*10**6+1):if (100+p)*i/100<(100+q)*i/100+a:res+=1if (100+p)*2*10**4<(100+q)*2*10**4+a:print 10**9-(2*10**6-res)else:print res