- 1,题目描述:
- 2,总代码:
#include<bits/stdc++.h>
using namespace std;
int main() {
int x,y,n;
double c;
cin>>x>>y>>n;
c = (x+y)*0.9;
cout<<fixed<<setprecision(1)<<n-c;
return 0;
}
#include<bits/stdc++.h>
using namespace std;
int main() {
int x,y,n;
double c;
cin>>x>>y>>n;
c = (x+y)*0.9;
cout<<fixed<<setprecision(1)<<n-c;
return 0;
}