比赛 20190908之惊鸿 评测结果 AAAAAAAAAAAAAAAAAAAA
题目名称 小凯的疑惑 最终得分 100
用户昵称 海阔天空 运行时间 0.010 s
代码语言 C++ 内存使用 13.66 MiB
提交时间 2019-09-11 20:44:41
显示代码纯文本
    #include<iostream>
    #include<cstdio>
    using namespace std;
    int main(){
    	freopen("2017math.in","r",stdin);
    	freopen("2017math.out","w",stdout);
        long long a,b,ans;
        cin>>a>>b;
        ans=(a-1)*b-a;
        cout<<ans;
        return 0;
    }