| 比赛 | 202110省实验桐柏一中普及组联赛 | 评测结果 | AAAAAAAAWW |
|---|---|---|---|
| 题目名称 | 分数约分 | 最终得分 | 80 |
| 用户昵称 | jvruozjl | 运行时间 | 0.000 s |
| 代码语言 | C++ | 内存使用 | 0.00 MiB |
| 提交时间 | 2021-10-18 19:01:05 | ||
#include<iostream>
#include<cstdio>
#include<algorithm>
using namespace std;
long long a,b,g;
int main(){
freopen("yuefen.in","r",stdin);
freopen("yuefen.out","w",stdout);
cin>>a>>b;
g=__gcd(a,b);
cout<<a/g<<' '<<b/g<<endl;
return 0;
}