2 条题解
- 1
信息
- ID
- 174
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 10
- 标签
- 递交数
- 2
- 已通过
- 1
- 上传者
C++ :
#include<bits/stdc++.h>
using namespace std;
int main(){
double a,b;
cin>>a>>b;
cout<<fixed<<setprecision(1)<<a-b*0.8;
return 0;
}
Python :
# coding=utf-8
n=int(input())
m=int(input())
a=n-m*8/10
print(round(a,1))