注:使用 cout 时的格式控制 该题由于不熟悉cout使用 wa 了还是太菜
#include <iostream>
#include <algorithm>
#include <cstdlib>
#include <cstring>
#include <cstdio>
#include <cmath>
#include <string>
#include <queue>
#include <stack>
#include <map>
#include <set>
typedef long long LL;
using namespace std;
int main()
{
int a;
double b;
double c;
cin >> a >> b;
c=(1-b)*a;
printf("%.2lf\n",c);
//cout.setf(ios::showpoint);
// cout.precision(2);
//cout << c ;
return 0;
}