11559: 按要求输出整数(II)
Memory Limit:64 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:2
Solved:0
Description
(课本P97的4.11)显示从100到N之间所有能被5或6整除,但不能同时被两者整除的数。
Input
只有一个整数N>100.
Output
每行显示10个符合要求的数字,每个数字用一个空格分隔(注意每一行最后一个数的后面没有空格)。
Sample Input Copy
128
Sample Output Copy
100 102 105 108 110 114 115 125 126
HINT
答案的头两行输出应该为:
100 102 105 108 110 114 115 125 126 130
132 135 138 140 144 145 155 156 160 162