#题外话(第35篇题解)(太简单,分两个于心不忍……)(C++语言)
#先看题目
2008:
2009:
题目链接:
2008https://www.luogu.com.cn/problem/B20082009
https://www.luogu.com.cn/problem/B2009#代码
2008:
#include <bits/stdc++.h>
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b>>c;
cout<<(a+b)*c;
return 0;
}
2009:
#include <bits/stdc++.h>
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b>>c;
cout<<(a+b)/c;
return 0;
}