Riddle of two buildings

Once in employment held a fun test of intelligence. Test that the move did not pass, because they do not runs out of time, but decided.
The task:
1. There are two buildings
2. Between the two buildings laid cable connection consists of three cores
3. Each building has a bell (220) and a button with a normally-open contact
4. To the right, the building is supplied with two wires (220V and neutral)

Formulation of the problem:
How to lay the wiring diagram inside the two buildings, so that when you click on the button in the left building, sounded the call to the right of the building, then the other way around?

 

Загадка про два здания

# Riddle, # ASU, # electrician, #logic

Russian version

Array
(
    [ID] => 41
    [IBLOCK_ID] => 1
    [NAME] => The mystery of the two buildings
    [IBLOCK_SECTION_ID] => 
    [IBLOCK] => Array
        (
            [ID] => 1
            [~ID] => 1
            [TIMESTAMP_X] => 14.10.2021 23:54:30
            [~TIMESTAMP_X] => 14.10.2021 23:54:30
            [IBLOCK_TYPE_ID] => EN
            [~IBLOCK_TYPE_ID] => EN
            [LID] => s2
            [~LID] => s2
            [CODE] => articles
            [~CODE] => articles
            [API_CODE] => 
            [~API_CODE] => 
            [NAME] => Articles
            [~NAME] => Articles
            [ACTIVE] => Y
            [~ACTIVE] => Y
            [SORT] => 10
            [~SORT] => 10
            [LIST_PAGE_URL] => /articles/
            [~LIST_PAGE_URL] => /articles/
            [DETAIL_PAGE_URL] => /articles/#ELEMENT_CODE#.html
            [~DETAIL_PAGE_URL] => /articles/#ELEMENT_CODE#.html
            [SECTION_PAGE_URL] => 
            [~SECTION_PAGE_URL] => 
            [CANONICAL_PAGE_URL] => https://lapshinvr.com/articles/articles.html
            [~CANONICAL_PAGE_URL] => https://lapshinvr.com/articles/articles.html
            [PICTURE] => 
            [~PICTURE] => 
            [DESCRIPTION] => 
            [~DESCRIPTION] => 
            [DESCRIPTION_TYPE] => html
            [~DESCRIPTION_TYPE] => html
            [RSS_TTL] => 24
            [~RSS_TTL] => 24
            [RSS_ACTIVE] => Y
            [~RSS_ACTIVE] => Y
            [RSS_FILE_ACTIVE] => N
            [~RSS_FILE_ACTIVE] => N
            [RSS_FILE_LIMIT] => 
            [~RSS_FILE_LIMIT] => 
            [RSS_FILE_DAYS] => 
            [~RSS_FILE_DAYS] => 
            [RSS_YANDEX_ACTIVE] => N
            [~RSS_YANDEX_ACTIVE] => N
            [XML_ID] => 
            [~XML_ID] => 
            [TMP_ID] => 
            [~TMP_ID] => 
            [INDEX_ELEMENT] => Y
            [~INDEX_ELEMENT] => Y
            [INDEX_SECTION] => N
            [~INDEX_SECTION] => N
            [WORKFLOW] => N
            [~WORKFLOW] => N
            [BIZPROC] => N
            [~BIZPROC] => N
            [SECTION_CHOOSER] => L
            [~SECTION_CHOOSER] => L
            [LIST_MODE] => 
            [~LIST_MODE] => 
            [RIGHTS_MODE] => S
            [~RIGHTS_MODE] => S
            [SECTION_PROPERTY] => N
            [~SECTION_PROPERTY] => N
            [PROPERTY_INDEX] => N
            [~PROPERTY_INDEX] => N
            [VERSION] => 1
            [~VERSION] => 1
            [LAST_CONV_ELEMENT] => 0
            [~LAST_CONV_ELEMENT] => 0
            [SOCNET_GROUP_ID] => 
            [~SOCNET_GROUP_ID] => 
            [EDIT_FILE_BEFORE] => 
            [~EDIT_FILE_BEFORE] => 
            [EDIT_FILE_AFTER] => 
            [~EDIT_FILE_AFTER] => 
            [SECTIONS_NAME] => 
            [~SECTIONS_NAME] => 
            [SECTION_NAME] => 
            [~SECTION_NAME] => 
            [ELEMENTS_NAME] => Элементы
            [~ELEMENTS_NAME] => Элементы
            [ELEMENT_NAME] => Элемент
            [~ELEMENT_NAME] => Элемент
            [REST_ON] => N
            [~REST_ON] => N
            [EXTERNAL_ID] => 
            [~EXTERNAL_ID] => 
            [LANG_DIR] => /
            [~LANG_DIR] => /
            [SERVER_NAME] => lapshinvr.com
            [~SERVER_NAME] => lapshinvr.com
        )

    [LIST_PAGE_URL] => /articles/
    [~LIST_PAGE_URL] => /articles/
    [SECTION_URL] => 
    [CANONICAL_PAGE_URL] => https://lapshinvr.com/articles/the-mystery-of-the-two-buildings.html
    [SECTION] => Array
        (
            [PATH] => Array
                (
                )

        )

    [IPROPERTY_VALUES] => Array
        (
            [ELEMENT_PREVIEW_PICTURE_FILE_NAME] => the mystery of the two buildings
            [ELEMENT_META_TITLE] => Mystery of two buildings. IQ check
            [ELEMENT_META_KEYWORDS] => mystery, two, buildings, Riddle, ASU, electrician, logic
            [ELEMENT_META_DESCRIPTION] => The riddle of two buildings tests well the degree of logical thinking of a specialist
            [ELEMENT_PAGE_TITLE] => Riddle of two buildings
            [SECTION_META_TITLE] => Automation articles 
            [SECTION_META_KEYWORDS] => Automation, Articles 
            [SECTION_META_DESCRIPTION] => I met something worthy of attention during the work. It is difficult to assess the necessity of posting this or that article, I tried to clean up the obvious garbage
            [SECTION_PAGE_TITLE] => Here I published articles that may be useful to someone in the production of work
        )

    [TIMESTAMP_X] => 20.10.2021 01:07:44
    [META_TAGS] => Array
        (
            [TITLE] => Riddle of two buildings
            [BROWSER_TITLE] => Mystery of two buildings. IQ check
            [KEYWORDS] => mystery, two, buildings, Riddle, ASU, electrician, logic
            [DESCRIPTION] => The riddle of two buildings tests well the degree of logical thinking of a specialist
        )

    [PREVIEW_TEXT] => How to lay the wiring diagram inside the two buildings, so that when you click on the button in the left building, sounded the call to the right of the building, then the other way around?
    [PREVIEW_PICTURE] => Array
        (
            [ID] => 370
            [TIMESTAMP_X] => Bitrix\Main\Type\DateTime Object
                (
                    [value:protected] => DateTime Object
                        (
                            [date] => 2021-10-20 01:07:44.000000
                            [timezone_type] => 3
                            [timezone] => Europe/Moscow
                        )

                )

            [MODULE_ID] => iblock
            [HEIGHT] => 358
            [WIDTH] => 621
            [FILE_SIZE] => 26110
            [CONTENT_TYPE] => image/png
            [SUBDIR] => iblock/852
            [FILE_NAME] => the_mystery_of_the_two_buildings.png
            [ORIGINAL_NAME] => the-mystery-of-the-two-buildings.png
            [DESCRIPTION] => The mystery of the two buildings
            [HANDLER_ID] => 
            [EXTERNAL_ID] => 115d7df9e5d68880f70152def708efd0
            [~src] => 
            [SRC] => /upload/iblock/852/the_mystery_of_the_two_buildings.png
            [UNSAFE_SRC] => /upload/iblock/852/the_mystery_of_the_two_buildings.png
            [SAFE_SRC] => /upload/iblock/852/the_mystery_of_the_two_buildings.png
            [ALT] => The mystery of the two buildings
            [TITLE] => The mystery of the two buildings
        )

    [DETAIL_PAGE_URL] => /articles/the-mystery-of-the-two-buildings.html
)
Ваш комментарий добавлен

Возврат к списку