题解 | #[NOIP2017]成绩#
[NOIP2017]成绩
https://ac.nowcoder.com/acm/contest/18839/1034
#include<iostream> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int d=0.2*a+0.3*b+0.5*c; cout<<d; }
[NOIP2017]成绩
https://ac.nowcoder.com/acm/contest/18839/1034
#include<iostream> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int d=0.2*a+0.3*b+0.5*c; cout<<d; }
相关推荐