Phép Tính #1

PDF

Submit solution

Points: 10.00
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Authors:
Problem types
Allowed languages
C, C++, Java, Pascal, Python, Scratch, TEXT

Nhập vào ba số nguyên ~A~, ~B~, ~C~.

Yêu cầu

In ra kết quả của các phép toán sau, mỗi phép toán in trên một dòng $$(A-B)*C$$ $$(A-B)-A*C$$ $$(A^2-B^3)*C$$

Dữ liệu

Một dòng duy nhất ghi ba số nguyên ~A~, ~B~, ~C~, cách nhau 1 dấu cách ~(|A|, |B|, |C|\leq 10^4)~.

Kết quả

In ra 1 số nguyên là đáp án.

Input

1 -2 3

Output

9
0
27

Comments

Please read the guidelines before commenting.


There are no comments at the moment.