include<iostream> #include<cstdio> #include<algorithm> #include<string.h> using namespace std;; int main() { freopen("last_SYF.in","r",stdin); freopen("last_SYF.out","w",stdout); int n,m;cin>>n>>m; int c=__gcd(n,m);cout<<n/c<<"/"<<m/c; return 0; }
题目3313 伤心失落的SYF
评论
2022-03-23 20:56:46
|