练习专区

今天的一小步就是明天的一大步
Problem 1233 求代数式的值(二)(C基础)
Accepted: 6   Total Submit: 7
Time Limit: 1000ms   Memory Limit: 30720KB
Description
编写程序,读入两个数分别存到变量x和y中,求代数式x2+2xy+y2的值并输出。
Input
变量x和y
Output
代数式x2+2xy+y2的值
Sample Input
1 1
1 2
Sample Output
4
9
Hint
提交     返回