'commit'
This commit is contained in:
11
TangDou/LuoGuBook/P3954.cpp
Normal file
11
TangDou/LuoGuBook/P3954.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int a, b, c;
|
||||
cin >> a >> b >> c;
|
||||
// printf("%d", int(a * 0.2 + b * 0.3 + c * 0.5 + 0.5));
|
||||
printf("%d", ceil(a * 0.2 + b * 0.3 + c * 0.5));
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user