pat 甲级 最大公约数 A1088 Rational Arithmetic (20分)
1088 Rational Arithmetic (20分)
For two rational numbers, your task is to implement the basic arithmetics, that is, to calculate their sum, difference, product and quotient.
Input Specification:
Each input file contains one test case, which gives in one
原创
2020-07-23 00:33:53 ·
81 阅读 ·
0 评论