提交时间:2021-06-19 17:02:11

运行 ID: 20659

#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,N,ans; cin>>a>>b; N=a*b; c=2*((N-1)*(N-1))-1; ans=c/2-504; cout<<ans; return 0; }