1697: continue语句的应用

Memory Limit:12 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:3 Solved:2

Description

要求输出100~200之间不能被3整除的数,输出的各数之间以空格分隔。输出时,每5个数字一行,注意每行最后一个数字后边不再输出空格。
要求在程序中使用continue语句。

Input

Output

输出时,每5个数字一行,注意每行最后一个数字后边不再输出空格。
最后一个数字后输出换行。

Sample Input Copy

Sample Output Copy

100 101 103 104 106
107 109 110 112 113
115 116 118 119 121
122 124 125 127 128
130 131 133 134 136
137 139 140 142 143
145 146 148 149 151
152 154 155 157 158
160 161 163 164 166
167 169 170 172 173
175 176 178 179 181
182 184 185 187 188
190 191 193 194 196
197 199 200 

Source/Category