当前位置:首页 > 技术杂谈 > 正文

kotori和bangdream

2024-03-31 技术杂谈

 

 
#include<cstdio>
#include<iostream>
using namespace std;
int n,x,a,b;
int main() {
    cin>>n>>x>>a>>b;
    double ans=n*(a*x*1.0/100 b*(100-x)*1.0/100);
    printf("%.2lf",ans);
    return 0;
}

 

温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/a/17201.html