17 lines
240 B
C
17 lines
240 B
C
|
#include<stdio.h>
|
||
|
|
||
|
int main(){
|
||
|
int num1=0,num2=0;
|
||
|
for(int i=100;i<=200;i++){
|
||
|
if(i%3==0)continue;
|
||
|
num1++;
|
||
|
}
|
||
|
for(int i=100;i<=200;i++){
|
||
|
if(i%3==0)continue;
|
||
|
num2++;
|
||
|
if(num2<=10||num2>=num1-9)printf("%d ",i);
|
||
|
}
|
||
|
|
||
|
return 0;
|
||
|
}
|