Ad
  • Custom User Avatar

    Hey, sorry I wasn't here in a while, things with life and work are crazy right now :( I see you have 2kyu, would you be willing to clean up translations with broken tests? I only wrote this kata in Java originally (never knew it would get so popular), so most of the translations are 3rd party. What Im trying to say feel free to "admin" on whatever you see broken :) Can I give you some extra permissions to meddle with this Kata?

  • Custom User Avatar

    Yes, you're on the right track. There multiple ways to handle that kata.

  • Custom User Avatar

    That's obvious but over 60% of overhead?? It happened on few kata's here already that solutions that were working are not working anymore due to server perfomance/configuration issues. In that case test cases should be re-written. Could you please run your solution to make sure it still passes? I don't see how I can make my implementation any faster, but it might be my "shitty" programming ;) so I would really like to make sure that's the case. If so I'll keep working on my code. Again, as I said heppened to me few times on high score katas that after "unlocking" solution I found my one is exactly same as someone's but still times out or doesn't work :(

  • Custom User Avatar

    My solution on a local pc get 40m primes in 6 seconds, yet it times out on the servers. Is there a way of doing it even faster or are we having some server perf issues? :/

  • Custom User Avatar

    Hi Guys, There are about 4 kata's with java that require us to use reflection/javassist. Since im studying the subject recently I tried all of them (Unlocked one solution to be sure). So I have solutions that compile and pass the tests from codewars in my local eclipse IDE with no problems, yet each one of them fail with very similar (if not exactly the same) problem (I think katas are Hack-22, Bagel, and Psychic). I tried the unlocked solutions (that already passed) and most of them are failing the tests. I've opened an issue (https://github.com/Codewars/codewars.com/issues/1533) but basically got f.off response from them (maybe I wasn't clear enough about underlying issue, hoped for them to look into it). So in conclusion they must have changed the way java is being handled on the codewars (rendering them 4 kata's kinda useless, though I think reflection solutions might work for them ,still working on it in my free time. If any of ye guys would like to open a new issue or comment on the one I posted (I'll follow up then) maybe someone there will exercise a little bit will to fix it, as in the moment it prevents us from completing them ang getting the points, also renders plenty of solutions unusable :/ It might be worth mentioning that this error is thrown even on a "plain" default kata's setup.

  • Custom User Avatar

    Your solution works for me in local IDE, I made a solution for Hack-22 that works in local as well, yet all of them crap out in codewars with duplicate class definition when trying to load.

  • Custom User Avatar

    Yet it doesn't work like ANY javassist solution for that kata :/ I don't know wtf...

  • Custom User Avatar

    The javassist solution doesnt work as well ://

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    No sample tests, Houses array declaration is good (tricky to iterate) but should be moved into the code, considering kata is about differences between different array types in js. A link to some wiki in description would be handy as well.

  • Custom User Avatar

    It is indeed. But as you said: excersise.

  • Custom User Avatar

    It must be an internal Codewars error, something with internal text processing. Anyway what is this esoteric solution? I'll give you three hints with proper aproaches: s.forEach(s->{}) / google: postfix algorithm / Use stack

  • Custom User Avatar

    Sorry I could have swear one of the test cases had subStract in it.

  • Custom User Avatar

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

  • Loading more items...