标签:des style blog http io os ar for sp
传送门:http://poj.org/problem?id=3872
Time Limit: 2000MS | Memory Limit: 65536K | |
Total Submissions: 117 | Accepted: 32 |
Description
For every n
K, if you replace one digit p with q or one digit q with p in the
decimal notation of n then the resulting number will be an element of K.
Input
Output
Sample Input
Sample Input #1:
1
1 566
Sample Input #2:
1
30 75
Sample Output
Sample Output #1:
1234
5
6
789
Sample Output #2:
12
345
6
7
89
Source
标签:des style blog http io os ar for sp
原文地址:http://www.cnblogs.com/kingnight/p/4068762.html