往年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;
}
全部评论

相关推荐

10-09 16:12
门头沟学院 Java
帅宇殿下:佬,简历写的什么
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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