标签:
Description
Input
Output
Sample Input
Sample Output
#include<iostream> using namespace std; int main() { int t,n,m,s; cin>>t; while(t--) { cin>>n>>m; s=n*(n+1)/2*m*(m+1)/2; cout<<s<<endl; } return 0; }
标签:
原文地址:http://www.cnblogs.com/xinxiangqing/p/4688364.html