diff --git a/Luogu/problem/B2012/B2012.cpp b/Luogu/problem/B2012/B2012.cpp new file mode 100644 index 00000000..b86e9fcb --- /dev/null +++ b/Luogu/problem/B2012/B2012.cpp @@ -0,0 +1,10 @@ +#include + +using namespace std; + +int main() { + double a, b; + cin >> a >> b; + cout << fixed << setprecision(3) << b / a * 100 << '%' << endl; + return 0; +}