Intellectual reasoning: What is the age of three children?

Source: Internet
Author: User

Reprint Please specify source: http://blog.csdn.net/xiaojimanman/article/details/47420005

Http://www.llwjy.com/blogdetail/e5c2ae36db9a4e5fac02e2394d6c9ee4.html

Personal Blog Station has been online, the website www.llwjy.com ~ welcome you to vomit Groove ~

-------------------------------------------------------------------------------------------------


Problem description

IBM written question: A census clerk asked a woman, "How many children do you have and how old are they?" "The woman replied:" I have three children, their age is multiplied by 36, the old is equal to the next house number. "The census clerk immediately went to the side room and looked at it and said," I need some more information. The woman replied, "I am very busy now, my oldest child is sleeping upstairs." "The census clerk said:" Thank you, I know. Question: What is the age of the three children?


Final Answer

2 years, 2 years, 9 years old


Problem analysis

First we divided the woman, she said, "I have three children, their age is multiplied by 36", so we can do a prime decomposition of 36, that is:1 * 2 * 2 * 3 * 3; Woman's second sentence, "Age equals the house number next door", We analyze the 3-number multiplication of 36, and the results are as follows:


After looking at the house number, the census clerk said, "I need some more information," which means I know and, but the solution is not the only case, so we can infer that the age of three children is equalto three, that is, 1-6-6 and 2-2-9, and then the woman said a sentence " My oldest child is upstairs sleeping ", from this sentence can be launched only one of the largest, so the possible result is:2, 2, 9 years old.


-------------------------------------------------------------------------------------------------
Small welfare
-------------------------------------------------------------------------------------------------
Individual at the Geek College, "Lucene case development" course has been launched (currently on the line to the second lesson), welcome everyone spit Groove ~

First lesson: Lucene Overview

Lesson Two: Introduction to Lucene common functions

Lesson Three: web crawler

Lesson Four: Database connection pooling

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Intellectual reasoning: What is the age of three children?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.