提交时间:2024-01-22 17:04:32

运行 ID: 122996

#include<cstdio> #include<iostream> using namespace std; int main(){ int m,n,a,b; cin>>m>>n>>a>>b; cout<<m<<"/"<<n<<"="<<a; cout<<m<<"%"<<n<<"="<<b; return 0; }