Ad
  • Custom User Avatar

    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

  • Custom User Avatar

    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

  • Custom User Avatar

    tht s nothing. i just fixed it . But my code did pass all the tests anyway

  • Custom User Avatar

    just solved it. took me 5 hours!

  • Custom User Avatar

    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.

  • Custom User Avatar

    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!

  • Custom User Avatar

    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!

  • Custom User Avatar

    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

  • Custom User Avatar

    "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?

  • Custom User Avatar

    I am backk! Lts go bby!!!

  • Custom User Avatar

    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

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    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 :(

  • Custom User Avatar

    "You have passed all of the tests! :) " I passed the soft tests btw xD!

  • Custom User Avatar

    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...