Hypercube
The pedestal upon which stood the Hypercube didn’t fit into the castle’s interiors. It was a high-tech column above which hovered the Cube in a cylinder of bluish light without any visible support. Most likely, the cylinder is a force field, which has to be turned off in order to take the Cube.
"Did Lord Escher actually die? What if he just went back to his home planet?", - the thought has involuntarily entered your mind. But there was no time for reflection. You can’t rule out the possibility of the owner’s ghost trying to stop you on your way back, so you have got to hurry.
When you took a few steps closer to the Cube and were getting ready to reach out, you suddenly felt like you’ve bumped into something invisible, yet impenetrable. Was the Hypercube surrounded by another force field?!
Well, you have to find a way to turn it off.
When you’ve touched an outer invisible force field, a rectangle consisting of letters appeared on it. While you were looking at these letters, their set had changed. It seems that every 10 seconds the letter box automatically reboots. You need to wait for the moment when you can clearly read 'Hypercube' on the field - this will be the short window during which the field is deactivated and you can pass.
Input: Array of the letters.
Output: True or False.
Example:
hypercube([ ['g', 'f', 'H', 'Y', 'v'], ['z', 'e', 'a', 'P', 'u'], ['s', 'B', 'T', 'e', 'y'], ['k', 'u', 'c', 'R', 't'], ['l', 'O', 'k', 'p', 'r']]) == True hypercube([ ['H', 'a', 't', 's', 'E'], ['a', 'Y', 'p', 'u', 'B'], ['a', 'a', 'P', 'y', 'U'], ['x', 'x', 'x', 'E', 'C'], ['z', 'z', 'z', 'z', 'R']]) == False
How it is used: For the lexicographic analisys.
Precondition
:
3x3 <= array size <= 5x5
CheckiO Extensions allow you to use local files to solve missions. More info in a blog post.
In order to install CheckiO client you'll need installed Python (version at least 3.8)
Install CheckiO Client first:
pip3 install checkio_client
Configure your tool
checkio --domain=py config --key=
Sync solutions into your local folder
checkio sync
(in beta testing) Launch local server so your browser can use it and sync solution between local file end extension on the fly. (doesn't work for safari)
checkio serv -d
Alternatevly, you can install Chrome extension or FF addon
checkio install-plugin
checkio install-plugin --ff
checkio install-plugin --chromium
Read more here about other functionality that the checkio client provides. Feel free to submit an issue in case of any difficulties.
Welcome to Pair Programming! Engage in real-time collaboration on coding projects by starting a session and sharing the provided unique URL with friends or colleagues. This feature is perfect for joint project development, debugging, or learning new skills together. Simply click 'Start Session' to begin your collaborative coding journey!
You are trying to join a pair programming session that has not started yet.
Please wait for the session creator to join.
It looks like the creator of the pair programming session closed the editor window.
It might happen accidentally, so that you can wait for reconnection.