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.
find yourself on leetcode
I really don't understand what's fun in 'tricky' testcases, which are actually dumb.
Wow, the start and the end weren't mentioned, what if I will testcase a > b. What a cool idea.
Since when programming became such dumb garbage?
First thing you do is looking at given values. Nah, that's not tricky, that's dumb, you are wasting time, go touch some grass instead.
HALA MADRID
SIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIU
Loved it! Finally something about football.
Btw, is football popular hobby among programmers?
The worst piece of trash I ever solved on Kata.
It's a shame CodeWars that you allow garbage like this to be published! Delete it!
This comment is hidden because it contains spoiler information about the solution
you aint 8 kyu
I dunno if it's kyu8, beginners, what do you think?
When you can guess the county by looking at the code, lol.
I thought of this when I looked at kyu level again after having a timeout error. No way you need to use algos for this level.
timeout error + 8 kyu = there's a simple brutforce
I have no idea.
As the picture shows, after each 'round' there are:
1, 8, 27...
squares. Which are the cubes of1,2,3...
(3**1=1, 3**2=8, 3**3==27
), so for the first time it's cutted 0 times, second time - 3 cuts, third time - 6 cuts.And, I have no idea from where it was taken 26 and 98 for sencond and fourth times, if each round consists of
+3
more cuts than in the previous round, so for the fourth round the result should be 81 not 98.This is not 8kyu for SQL!
For some reason it thows an error:
rows did not match expected
@@,x ,res
→ ,45385593107843568 ,1→01011110001100111
→ ,509321967506747 ,1→101000111101101
→ ,366058562030849490134388085,1→011011110000101010000011011
→ ,15889923 ,1→01111100
→ ,800857237867 ,1→100111001111
Whereas the code is correct for each testcases seprately
This comment is hidden because it contains spoiler information about the solution
Ah, okay. It was interesting to know.
This comment is hidden because it contains spoiler information about the solution
Loading more items...