• Sign Up
  • Kata
  • Kumite
  • Blog
  • Forum
  • Wiki
  • Leaders
  • Log In
  • Sign Up
Name:максим халяпин
Clan:Unknown
Member Since:Oct 2016
Last Seen:Nov 2020
Profiles:
Following:2
Followers:4
Allies:2
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (134)
  • Replies
  • Authored
  • Needs Resolution
    • mrcavior
    • commented on "Sorted? yes? no? how?" ruby solution

    It's smart but for sure it may cause some misunderstanding when someone reads it

    • hobovsky
    • commented on ""A wolf in sheep's clothing" C++ Translation"

    Rejecting, because:

    • reference solution is in preloaded, and thus accessible for the user. Even though test cases are generated with the answer known upfront, so reference solution is not even necessary.
    • user can modify input by changing the header of solution function
    • a bunch of missing includes and misused using std: string, vector, cstdlib, in most of the snippets
    • input shuold be passed by const ref and not by value
    • random generator is not seeded
    • after rng is seeded, random tests have poor coverage, they almost never generate a wolf at front
    • LogicalX
    • commented on "Consecutive items" kata

    Done :)

    • nekokat
    • commented on "Consecutive items" kata

    C++ Translation

    • nekokat
    • commented on "Molecule to atoms" kata

    Ruby Translation

    • nekokat
    • commented on "A wolf in sheep's clothing" kata

    "A wolf in sheep's clothing" C++ Translation

    • steffan153
    • commented on ""All Star Code Challenge #18" CoffeeScript Translation"

    Merge conflict.

    • canhascodez
    • commented on "Moves in squared strings (I)" crystal solution

    join takes a block argument; map is unnecessary.

    • Glyxerine
    • commented on "Alex & snooker: points earned." kata

    Genius! That's my fault :(

    • Blind4Basics
    • commented on "Alex & snooker: points earned." kata

    ok, I forfeited ruby version: you're actually running into the usual trip: you're mutating the input, I bet?

    • Blind4Basics
    • commented on "Alex & snooker: points earned." kata

    I'm not sure... thing is: I hardcoded the results to get to the random tests, then never encountered the error. Maybe you've run into some kind of weird interaction with some variable or function with the same name than the one from the reference solution? (since everything is in the same global scope, in ruby tests...)

    • Glyxerine
    • commented on "Alex & snooker: points earned." kata

    I think it should from author's solution because of "in sltn" ?

    • Blind4Basics
    • resolved an issue on "Alex & snooker: points earned." kata

    it comes from your own solution. ;)

    • Glyxerine
    • created an issue for "Alex & snooker: points earned." kata

    [Ruby] Anybody can fix this?
    #<NoMethodError: undefined method >' for nil:NilClass> main.rb:82:in sltn'

    • brianjob
    • commented on "Sorted? yes? no? how?" ruby solution

    Although this is nice and concise, it's an O(nlogn) algorithm, when an O(n) solution is possible.

  • Loading more items...
  • © 2021 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm