From 5d64a8b1b5f0ddae53cbc7b8f93b9f62c2e4cde8 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Sun, 19 Dec 2021 16:20:52 +0800 Subject: [PATCH] =?UTF-8?q?T216906=20=E7=BB=84=E5=8E=9F=E6=88=90=E7=BB=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit R65371243 --- Luogu/T216906/T216906.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Luogu/T216906/T216906.cpp diff --git a/Luogu/T216906/T216906.cpp b/Luogu/T216906/T216906.cpp new file mode 100644 index 00000000..2d944817 --- /dev/null +++ b/Luogu/T216906/T216906.cpp @@ -0,0 +1,14 @@ +#include +#include + +using std::cin; +using std::cout; +using std::endl; + +int t, h, e; + +int main() { + cin >> t >> h >> e; + cout << (int)floor(0.2 * t + 0.3 * h + 0.5 * e) << endl; + return 0; +}