标签:stream ring name std names sign algorithm pre amp
找规律
#include <cstdio>
#include <iostream>
#include <algorithm>
#include <cstring>
#include <cmath>
#define int long long
using namespace std;
int a,b,ans=0;
signed main()
{
scanf("%lld %lld",&a,&b);
if(a>b) swap(a,b);
int c;
printf("%lld",(a-1)*b-a);
}
标签:stream ring name std names sign algorithm pre amp
原文地址:https://www.cnblogs.com/mendessy/p/11688536.html