摘要:
It is easy to see that for every fraction in the form(k > 0), we can always find two positive integers x and y,x ≥ y, such that: Now our question is: 阅读全文
摘要:
题意简述:输入正整数n,用0~9这10个数字不重复组成两个五位数abcde和fghij,使得abcde/fghij的商为n,按顺序输出所有结果。如果没有找到则输出“There are no solutions for N.”。这里2<=n<=79。 样例输入: 62 样例输出: 79546/0123 阅读全文