#B. 考级202012-2:计算算式的值

    Type: Default 1000ms 128MiB

考级202012-2:计算算式的值

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目描述

给定 3 个整数 a、b、c,计算表达式(a+b)*(c-b)的值。

输入格式

输入仅一行,包括三个整数 a、b、c, 数与数之间以一个空格分开。 (-10,000 < a,b,c <10,000)

输出格式

输出一行,即表达式的值。

输入数据 1

2 3 5

输出数据 1

10

数据范围与提示

-10,000 < a,b,c <10,000

还有一级(第5轮)

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
5
Start at
2023-7-27 9:30
End at
2023-8-19 7:30
Duration
550 hour(s)
Host
Partic.
18