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:
parent
3bb7f2693e
commit
5d64a8b1b5
14
Luogu/T216906/T216906.cpp
Normal file
14
Luogu/T216906/T216906.cpp
Normal 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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user