mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2025-01-23 16:31:58 +00:00
B2008 计算 (a+b)×c 的值
R52602972
This commit is contained in:
parent
f87ec82e84
commit
2d4edf7cc9
10
Luogu/problem/B2008/B2008.cpp
Normal file
10
Luogu/problem/B2008/B2008.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int a, b, c;
|
||||
cin >> a >> b >> c;
|
||||
cout << (a + b) * c << endl;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user