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.
asymptotically pythonic
I would suggest the author link to something like this in the description:
https://en.wikipedia.org/wiki/Bitwise_operation#OR
🤦
This comment is hidden because it contains spoiler information about the solution
Very clearly done and helpful.
After finishing my own solution and reading this one, I did "Train Again" to try and duplicate this solution from memory.
I was able to write it without errors the first time!
It felt like a 'hole in one' for me, to write a solution without typos.
if @cwhy "marked first", does that mean that he can correct the incorrect solution that is connected to all the upvotes?
Somehow this verifiably incorrect solution has not been deprecated. (just "train again" and cut and paste the code)
Maybe CW'ers can upvote our favorite challenger-solutions below, and/or remove our upvotes for this solution?
I'm curious if there's an alternative appropriate way that the incorrect code could be deprecated.
awesome!
lazy machine := methodical, thorough, efficient human
:D
Looks like Chinese language posts are okay.
https://github.com/Codewars/codewars.com/wiki/Community-Code-of-Conduct
I recommend that, if it doesn't look problematic in google-translate, then please, my friend... tinyurl.com/L337-33T-G000
I should note that fanxiangqi's original post was evidently downvoted (all the way to -1 before I returned it to 0).
Regardless, to charitably respond to rogo's request:
The three lines from fanxiangqi represents a three-mode theory of aesthetic qualities of poetry from the Song dynasty, called "jingjie".
Mode 1, a line of poetry from Yan Shu's "Dielianhua." https://en.wikipedia.org/wiki/Yan_Shu
-- Last night the West wind shriveled the green-clad trees.
-- Alone I climb the light tower to gaze my fill along the road to the horizon.
Mode 2: a line from Liu Yong's Fengqiwu
-- My clothes grow daily more loose, yet care I not.
-- For you am I thus wasting away in sorrow and pain.
Mode 3: a line from Xin Qiji's Qingyuan https://en.wikipedia.org/wiki/Xin_Qiji
-- I sought her in the crowd a hundred, a thousand times.
-- Suddenly with a turn of the head [I saw her], that one there where the lamplight was fading.
(Source : "Contemporary Chinese Philosophy", edited by Chung-Ying Cheng, Nicholas Bunnin)
Basically... this is deep philosophy stuff that no person has a chance of comprehending unless they are well-versed in classical Chinese writings.
Not sure I completely understand getSolutionRankingScore and getUpvoteBonusScore,
but it seems that upvote points don't decay over time.
Wouldn't the concept fail to produce the desired effect if upvote points don't decay?
"They said it before, and we'll say it again..."
Add my vote also for a parallel "time to run" score! :D
Possibly this could lead to excessive re-running of solutions to get a lucky fast score. So maybe limit the publicable time-to-rum score just to a user's first successful solution for a given kata, or something like that?
I was wondering how this worked. I guess it's probably using some kind of whitespace parkour.
i.e.
https://codegolf.stackexchange.com/a/58