Java Bài 1.A3: Tính toán giá trị biểu thức 2


LÀM BÀI

Points: 10 (partial)
Time limit: 2.0s
Memory limit: 64M

Author:
Problem type

Cho ba số nguyên dương a , b và c, hãy tính S = a(b+c)+b(a+c).

Input Format

Một dòng ba số nguyên a, b, c

Constraints

( 0 < |a|, |b|, |c |<= 10^9)

Output Format

Một dòng ghi giá trị S = a(b+c) + b(a+c)

Ví dụ:

Dữ liệu vào
1 2 3
Dữ liệu ra
13

Comments

There are no comments at the moment.

Zalo