提交时间:2025-09-20 16:45:59
运行 ID: 350601
#include <iostream> #include <iomanip> using namespace std; int main(){ int a,b; cin>>a>>b; if(a>b) { swap(a,b); } cout<<fixed<<setprecision(2)<<1.0*a/b*100<<"%"; return 0; }