This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Link On/Off State of Multiple Devices | |
description: '## Link On/Off State of Multiple Devices v1.0.4 | |
Select multiple entities to link their on/off state. If any selected entity is | |
turned on or off, the other selected entities will be sent a matching on or off | |
command. | |
You can select any entity, but only entities supported by the `homeassistant.turn_on` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
const int BOWLS = 40; | |
const int ORANGES = 9; | |
int count = 0; | |
// All the places in which an orange can't be placed are 1's | |
int used[BOWLS]; | |
// A list of the oranges already placed. |