往年NOIP的一道题改的,学一下推理过程

得不到的爱情

#include <iostream>
#include <cstring>
#include <algorithm>
#include <vector>
#include <map>
#include <cmath>

using namespace std;

int main()
{
    long long n, m;
    cin >> n >> m;
    cout << n * m - n - m << endl;
    return 0;
}
全部评论

相关推荐

不愿透露姓名的神秘牛友
07-01 10:56
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务