摘要: For two rational numbers, your task is to implement the basic arithmetics, that is, to calculate their sum, difference, product and quotient. Input Sp 阅读全文
posted @ 2018-08-31 16:08 王清河 阅读(169) 评论(0) 推荐(0) 编辑
摘要: Given N rational numbers in the form numerator/denominator, you are supposed to calculate their sum. Input Specification: Each input file contains one 阅读全文
posted @ 2018-08-31 09:35 王清河 阅读(168) 评论(0) 推荐(0) 编辑