Joke Collection Website - Joke collection - Design program: Find out the smallest number of 1 in a positive integer, divide by 3, 5, 7 and 9, and the remainder is 1, 3, 5 and 7 respectively, and output the result.
Design program: Find out the smallest number of 1 in a positive integer, divide by 3, 5, 7 and 9, and the remainder is 1, 3, 5 and 7 respectively, and output the result.
Master ()
{ int I;
for(I = 3; I< 1000; i++)
{ if(I/% 3 = = 1 & amp; & ampI/5 = = 3 & amp; & ampi % 7 = = 5 & amp& ampi%9==7)
Break;
}
printf("%d ",I);
}
You should find it within 1000!
Stupid way! Not if the quantity is large! Get off my back!
- Previous article:People who know how to suffer losses are called high emotional intelligence.
- Next article:Always do this.
- Related articles
- Haitao is a super warm man. Are there any boys like this around you?
- The 86th edition of Journey to the West was exposed, and the Monkey King was smoking and spitting fairy. Did such a monkey brother surprise you?
- Please give me the "lyrics" of Goodbye Big Frog
- How terrible is artificial intelligence?
- My girlfriend complained to her best friend that I was not good in bed.
- The dialects in western Shanxi include dialects in Lishi, Zhongyang, Fenyang, Xingxian, Linxian, Fangshan and Liulin.
- After the boss sent a long article, everyone said they were wrong about the tiger. Is RNG capable of winning the championship next season?
- What are the sentences of Hua Qiangu's small bones that abuse the heart?
- What are the abbreviations used by many people in World of Warcraft?
- Crosstalk of the host of primary school students' cultural performance