已AC代码:
#include<cstdio>
int main(){
long long a,b;
while(scanf("%lld%lld",&a,&b)!=EOF)
{
printf("%lld\n",a*(a+1)/2*b*(b+1)/2);
}
return 0;
}
已AC代码:
#include<cstdio>
int main(){
long long a,b;
while(scanf("%lld%lld",&a,&b)!=EOF)
{
printf("%lld\n",a*(a+1)/2*b*(b+1)/2);
}
return 0;
}