提交时间:2024-01-21 11:10:09

运行 ID: 37509

#include <bits/stdc++.h> using namespace std; int main() { int a, b; cin >> a >> b; cout << fixed << setprecision(3) << 100.0 * b / a << '%' << endl; // 保留三位小数输出 return 0; }