I recently bought a toy train for my child. And, having assembled it, I wondered if I could create an application in which you place what stands out and how many of them you have, and the result is a track diagram, while in a rented closed circuit. So my input will be how much each type I have, these are the types:
And the result will be something like this:
What algorithm can I use to implement it, and if you have any suggestions or pointers, please tell me.
, , , . ,
Piece1-Piece2-Piece3 -...
Piece1-Piece3-Piece4 -...
Piece1-Piece4-Piece5 -...
...
( - ).
, , .
, , . , .
, , , "". , , , .
, , , , , , . , 4 16 , , 4 , - . , , , , .
. , , , .
Source: https://habr.com/ru/post/1679241/More articles:Azure Cosmos DB each partition size size - azureReact Native app not building для Android - SyntaxError:\u может сопровождаться последовательностью символов Unicode - androidВключается ли контекстный переключатель при прерывании? - assemblyHow to lock commit if submodules have changed? - githttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1679240/google-speech-recognition-api-is-too-slow&usg=ALkJrhjf79MR8MZPYV9TyKPt8NEpt9WoWgIs Google Speech API v1beta1 very slow? - google-app-engineОбъект DataFrame 'не имеет атрибута' sort ' - python-3.xAsynchronous HTTP POST request without waiting for a response in Inno Setup - httprandom selection of columns based on a group of columns - r"cannot accept the address" and "cannot call the method of the pointer to" - methodsAll Articles