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.
as far as i'm concerned, i dont care about how clean the top solutions are. what's important is that i was able to solve the prob, and it has the same time complexity as the top solutions... don't care about anything else. I think you should just enjoy the fact that you were able to solve the problem with good time complexity. as for ur other comment, i don't think it's that impressive, and nope i ain't got experience already.ido think anybody can do it, just focus and take challenges as an opportunity to learn... thts my strategy
i don’t think it’s a spoiler, but as soon as you imagine the scenario, the solution will be very clear...anywy go get em
tht s nothing. i just fixed it . But my code did pass all the tests anyway
just solved it. took me 5 hours!
U solved a 2KYU prob and came to this prob to show how smart u r, and ended up getting humbled! It should be a 5KYU tho, imo.
Dude u gotta improve the tests, 'cuz i tell ya, they’re broken! Sometimes my code passed sometimes it didn’t.also there were two cases in the fixed tests where my code gave me the right answer when tested in VSCODE, but your tests gave me a totally different answer. Note that I used the same code! To solve this issue, i had to manually handle these two cases! You gotta revise your tests guys, they’re broken!
You guys shouldnt be allowed to make any KATA. My experience was horrible. tht s the first time i had an experiance tht bad on codewars. The creators of this KATA are so terrible! Anyway i solved it but i am not satisfied!
calculate (((7.20/ -3.84- -2.23-9.14/7.037.42+ -8.85+8.12-8.73+7.39/(7.15+6.73+8.91/8.36+8.16/9.75)))+((7.46)-7.07-7.26/7.33/6.91+5.45-9.308.22/9.55-9.99*(6.71/ -6.70-5.05/ -7.75+9.839.47+8.04+6.90)/7.40+7.828.84+8.14+9.95+(6.35))/(((8.58+5.40+ -7.258.20/8.568.03+8.02-9.09/ -1.137.93/6.06+ -9.21+9.93+6.01+9.896.38/9.39* -1.17/ -9.58- -8.42/8.42+ -1.36/6.33/ -6.85+5.42+9.32+7.82+9.41+7.75+8.03/ -7.52)))) should be -20.5390898263107289, got -20.5390898263107253 can someone solve this ,everyone knows floating point has limitations u guys cant ask for this level of precision in your tests when it comes to float ! Been working on this problem for almost 12 hours , 3 hours per day and now cant ask me to come up something tht s impossible
"calculate ( -7.42/7.83-5.98* -5.01/9.08* -8.59+8.80) should be -20.490663944447256, got -20.4906639444472596" Why am i getting this is it my code or an issue with the tests?
I am backk! Lts go bby!!!
finally solved it and each time i look at all the papers i used and how complex is my code i think i am a freaking genius , tht s all i ve to say
This comment is hidden because it contains spoiler information about the solution
been solving c probs since last month and this is the first prob i encountered tht make feel tht stupid , worked on it for almost 5 hours and any of my appraoch worked . Just gave it to chatGPT and it couldnt possibly solve it . i dont know maybe there something wrong with this prob and also i think one graphic example is not enough to figure out a pattern . i am depressed now :(
"You have passed all of the tests! :) " I passed the soft tests btw xD!
apparently i need a stack in order to efficiently deal with these b*tches nested parentheses. This is unfortunate since I just started my programming journey this august, and i don't know how to actually implement a stack. Don't worry, I will be coming back well equipped in one month to solve this after having learned how to implement every data structure. Temp farewell, guys. I am coming back!
Loading more items...