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