当前位置:网站首页>2513: Xiao Yong's academic score (common divisor problem)
2513: Xiao Yong's academic score (common divisor problem)
2022-07-27 03:08:00 【51CTO】
2513: Xiao Yong's academic score
Time Limit: 1 Sec Memory Limit: 128 MB
Submit: 1140
Solved: 794
[
Submit][
Status][
Web Board]
Description
Xiao Hui's younger brother Xiao Yong just learned grades , Xiaohui wants to check whether her brother's appointment is correct . Please program to help her .
Input m/n Fractions of form , Output the reduced score ( Only integers that can be divided are output )
Input
Two Numbers m and n(1<=n,m<=1000)
Output
The score after reduction
Sample Input
Sample Output
HINT
Tips : Note in the input data '/' The matching of , If the output result is an integer, the denominator is not output
AC Code :
Sum up the least common multiple and the greatest common divisor
边栏推荐
- 使用 WebSocket 实现一个网页版的聊天室(摸鱼更隐蔽)
- 万字长文,带你搞懂 Kubernetes 网络模型
- 人们为什么热衷于给事物排序
- Plato Farm通过LaaS协议Elephant Swap,为社区用户带来全新体验
- 次轮Okaleido Tiger即将登录Binance NFT,引发社区热议
- Debezium系列之:基于debezium offset拉取历史数据,确保数据没有丢失
- 机器学习【Matplotlib】
- Cuteone: a onedrive multi network disk mounting program / with member / synchronization and other functions
- Kubeadmin到底做了什么?
- 八皇后编程实现
猜你喜欢

CS224W fall 1.2 Applications of Graph ML
全网最全的软件测试基础知识整理(新手入门必学)

CuteOne:一款OneDrive多网盘挂载程序/带会员/同步等功能

How to do the system security test? Let's talk about it in detail

Why do people like to rank things

Blog competition dare to try BAC for beginners

Swiperjs custom width

人们为什么热衷于给事物排序

Play a parallel multithreaded mcu-mc3172

vs2019 中编译和使用 protobuf 库
随机推荐
Leetcode- > binary search clock in
How to do the system security test? Let's talk about it in detail
time模块: 时间戳、结构化时间、格式化时间的获取与相互转化
Cs224w fall course - --- 1.1 why graphs?
云开发寝适闹钟微信小程序源码
对象创建的流程分析
Is the low commission account opening of Galaxy Securities Fund reliable, reliable and safe
[binary search simple question] leetcode 35. search insertion position, 69. Square root of X, 367. Effective complete square, 441. Arrange coins
Comprehensive summary of shell analysis log file commands
cocos小游戏实战-04-碰撞检测与NPC渲染
[redis] quick start
MarqueeView实现滑动展示效果
阿里云解决方案架构师张平:云原生数字化安全生产的体系建设
Database knowledge required by testers: MySQL common syntax
确定了,2022下半年软考报名8月开始
Okaleido Tiger 7.27日登录Binance NFT,首轮已获不俗成绩
听说你们面试都跪在了接口测试上?
银河证券基金低佣金开户靠谱吗,可靠安全吗
机器学习【Matplotlib】
[hash table] question collection