comet OJ 热身赛 H. checkin

AC代码

#include 
#include 
using namespace std;
typedef long long ll;

const int INF = 0x3f3f3f3f;

int main()
{
#ifdef LOCAL
	//freopen("C:/input.txt", "r", stdin);
#endif
	int a, b, c, d, e, f;
	cin >> a >> b >> c >> d >> e >> f;
	cout << min(a, e) + min(b, f) + min(c, d) << endl;

	return 0;
}

你可能感兴趣的:(2019,CCPC-Wannafly,Winter,Camp)