Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This should be the shortest codegolf, under the condition that
from string import*
is disallowed.That's cheating....
You solution is almost the same as mine, but all those
shark
s could be replaced with one. Also, by using double quotation marks, the escape character could be also omitted.This one-liner could be shortened by removing spaces at the
for
andin
and usinglambda
instead ofdef
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This is a very interesting kata on number theory and graph theory, see this numberphile video for more background: https://youtu.be/G1m7goLCJDY
题目是给长者续一秒?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Cannot understand problem or example, please revise
A really clever solution. Would be better if it didn't use workarounds for fixed cases.
Good!
Loading more items...