| 比赛 | 20190908之惊鸿 | 评测结果 | AAAAAAAAAAAAAAAAAAAA |
|---|---|---|---|
| 题目名称 | 小凯的疑惑 | 最终得分 | 100 |
| 用户昵称 | rsr | 运行时间 | 0.010 s |
| 代码语言 | C++ | 内存使用 | 13.66 MiB |
| 提交时间 | 2019-09-16 20:13:56 | ||
#include<iostream>
#include<iomanip>
#include<cstdio>
using namespace std;
int main()
{
freopen("math.in","r",stdin);
freopen("math.out","w",stdout);
long long int a,b,c;
cin>>a>>b;
c=a*b-a;
c=c-b;
if(c>0)
{
cout<<c<<endl;
}
return 0;
}