2012年4月27日

Ordered Fractions

摘要: Source : UnknownTime limit : 3 secMemory limit : 32 MSubmitted : 1227, Accepted: 383Consider the set of all reduced fractions between 0 and 1 inclusive with denominators less than or equal to N.Here is the set when N = 5:0/1 1/5 1/4 1/3 2/5 1/2 3/5 2/3 3/4 4/5 1/1Write a program that, given an integ 阅读全文

posted @ 2012-04-27 19:06 不悔梦归处 阅读(303) 评论(0) 推荐(0) 编辑

导航