摘要: 题目给出一个n ,求所有a/b=n 要求ab中数字不一样 枚举分母或者分分子就行了注意输出格式题目: DivisionWrite a program that finds and displays all pairs of 5-digit numbers that between them use the digits 0 through 9 once each, such that the first number divided by the second is equal to an integer N, where . That is, abcde / fghij = Nwhere e 阅读全文
posted @ 2013-12-25 21:58 doubleshik 阅读(379) 评论(0) 推荐(0) 编辑
摘要: http://www.matrix67.com/blog/archives/20 阅读全文
posted @ 2013-12-25 00:13 doubleshik 阅读(210) 评论(0) 推荐(0) 编辑