一筐鸡蛋

来源:互联网 发布:依祈怎么淘宝不能买了 编辑:程序博客网 时间:2024/04/30 09:45
求答案 ?
一筐鸡蛋:
1个1个拿,正好拿完。
2个2个拿,还剩1个。
3个3个拿,正好拿完。
4个4个拿,还剩1个。
5个5个拿,还差1个。
6个6个拿,还剩3个。
7个7个拿,正好拿完。
8个8个拿,还剩1个。
9个9个拿,正好拿完。

问筐里最少有多少鸡蛋?

能算出这道题的智商不一般!求答案 ?有高手没,算算吧!

算不出转发其他群,看看哪个群里高手多?。


for (int i = 0; i < 10000; i++) {    if (i % 2 == 1 && i % 3 == 0 && i % 4 == 1 && i % 6 == 3 && i % 7 == 0 && i % 8 == 1 && i % 9 == 0) {        System.out.println(i);    }}

I/System.out: 441
I/System.out: 945
I/System.out: 1449
I/System.out: 1953
I/System.out: 2457
I/System.out: 2961
I/System.out: 3465
I/System.out: 3969
I/System.out: 4473
I/System.out: 4977
I/System.out: 5481
I/System.out: 5985
I/System.out: 6489
I/System.out: 6993
I/System.out: 7497
I/System.out: 8001
I/System.out: 8505
I/System.out: 9009
I/System.out: 9513

0 0
原创粉丝点击