0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-25 06:51:58 +00:00

T216906 组原成绩

R65371243
This commit is contained in:
Baoshuo Ren 2021-12-19 16:20:52 +08:00
parent 3bb7f2693e
commit 5d64a8b1b5
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

14
Luogu/T216906/T216906.cpp Normal file
View File

@ -0,0 +1,14 @@
#include <cmath>
#include <iostream>
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;
}