No.1798 Financial Quiz
レベル :
/ AI推定難易度 : 101
/ 実行時間制限 : 1ケース 2.000秒 / メモリ制限
: 512 MB / 標準ジャッジ問題
タグ : / 解いたユーザー数 71
作問者 :
Digwee_kkkn
タグ : / 解いたユーザー数 71
作問者 :
問題文最終更新日: 2022-01-02 20:51:27
English (AI translation)
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence.
Back to the original
Problem Statement
AtCoder Store purchased Ant Books worth $N (1000 \leq N \leq 100000$) yen from yukicoder Store.
Of the $N$ yen, $P ( 0\leq P \leq100$)% is paid on accounts payable, and the remainder is paid from a checking account.
Find how many yen AtCoder Store pays yukicoder Store from the checking account.
Note that only cases where the output payment amount has no decimal point are given.
Input
$N\ P$
・All inputs are integers
・$1000\leq N \leq 100000$
・$0\leq P \leq 100$
Output
Output the answer as an integer on one line.
Sample
Sample 1
Input
10000 50
Output
5000
Sample 2
Input
1000 1
Output
990
Sample 3
Input
30000 15
Output
25500
Sample 3
Input
62000 100
Output
0
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。