[GCOI Round #1 A] Exam

[GCOI Round #1 A] Exam

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

题目描述

Mr Aoligei participates in a programming contest. The full marks of the programming contest is \(m\). Now, he has \(n\) marks. Because his \(IQ\) is too low, he does not know how many marks he needs to gain to reach full marks. Actually, he cannot reach full marks because his \(IQ\) is too low.

输入格式

Input is given from Standard Input in the following format:

\[{\large{m\space \space n}}\]

限制

  • \(0 \leq n < m \leq 10^9\)

输出格式

Print the mark he needs to gain to reach full marks.

输入输出样例

Input #1

100 98

Output #1

2

GCOI Round #1

未参加
状态
已结束
规则
OI
题目
5
开始于
2021-01-30 08:30
结束于
2021-01-30 18:45
持续时间
10.2 小时
主持人
参赛人数
6