标签:
Description
Input
Output
Sample Input
Sample Output
1 #include<iostream> 2 using namespace std; 3 int main() 4 { 5 int t,n,m; 6 cin>>t; 7 while(t--) 8 { 9 cin>>n>>m; 10 cout<<(n+1)*n*m*(m+1)/4<<endl; 11 } 12 return 0; 13 }
标签:
原文地址:http://www.cnblogs.com/huaxiangdehenji/p/4696556.html