摘要: 原题 https://pintia.cn/problem-sets/994805260223102976/problems/994805268334886912 思路 也是参看的别人的代码。记录下三个要点。 1、输入的两个分数不是按大小排序,自已要判断一下 2、怎么判断分子和分母不能再约分? 这两个 阅读全文
posted @ 2021-11-29 18:35 Infinite_V胜 阅读(34) 评论(0) 推荐(0)
摘要: 原题 https://pintia.cn/problem-sets/994805260223102976/problems/994805296180871168 代码 代码是看的别人的。https://www.cnblogs.com/siro/p/11129316.html 思路:用一个结构体数组来 阅读全文
posted @ 2021-11-29 12:30 Infinite_V胜 阅读(21) 评论(0) 推荐(0)