【NOIP2017】【Luogu3951】小凯的疑惑
problem
solution
codes
#include<iostream>
using namespace std;
typedef long long LL;
int main(){
LL a, b; cin>>a>>b;
cout<<a*b-a-b<<"\n";
return 0;
}
#include<iostream>
using namespace std;
typedef long long LL;
int main(){
LL a, b; cin>>a>>b;
cout<<a*b-a-b<<"\n";
return 0;
}
选择 | ||
|