0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-09-20 17:05:25 +00:00
OI-codes/Luogu/T216906/T216906.cpp

15 lines
217 B
C++
Raw Normal View History

2021-12-19 08:20:52 +00:00
#include <iostream>
2022-06-01 01:45:41 +00:00
#include <cmath>
2021-12-19 08:20:52 +00:00
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;
}