'commit'
This commit is contained in:
17
TangDou/AoSaiYiBenTong/YBT1007.cpp
Normal file
17
TangDou/AoSaiYiBenTong/YBT1007.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
//输入+输出重定向
|
||||
freopen("../AoSaiYiBenTong/YBT1007.txt", "r", stdin);
|
||||
|
||||
//正文开始
|
||||
int a, b, c;
|
||||
scanf("%d %d %d", &a, &b, &c);
|
||||
|
||||
printf("%d", (a + b) * c);
|
||||
//关闭文件
|
||||
fclose(stdin);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user