摘要: int gcd(int a, int b) { if (b == 0) return 0; else return gcd(b, a % b); } struct Fraction { int up, down; }; Fraction Reduction(Fraction result) { if (result.down r.down) { ... 阅读全文
posted @ 2018-06-03 23:48 Cirno-9 阅读(366) 评论(0) 推荐(0) 编辑