mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-10 07:18:48 +00:00
15 lines
217 B
C++
15 lines
217 B
C++
#include <iostream>
|
|
#include <cmath>
|
|
|
|
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;
|
|
}
|