OMG Equation
Author: Nazmul Alam
Equation: 9(a+b)2+4a+5b+(ab)2 find the value of this equation.
Input Format
You will be given test case t and each test case you also given 1<=a<=100 and 1<=b<=100.
Output Format
For each test case print the output.
Samples
Input
1
2 3
Output
284
Limits
Language | Time | Memory |
GNU C 11 | 1s | 512MB |
GNU C++ 14 | 1s | 512MB |
GNU C++ 11 | 1s | 512MB |
Statistics