• Sign Up
  • Kata
  • Kumite
  • Blog
  • Forum
  • Wiki
  • Leaders
  • Log In
  • Sign Up
Name:Unknown
Clan:Unknown
Member Since:Feb 2014
Last Seen:Jul 2018
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (14)
    • Replies
    • Authored
    • Needs Resolution
      • Nibir1607
      • commented on "Give me a Crazy Formula!" kata

      Great Kata...though my code get too large but ..

      • FArekkusu
      • created a suggestion for "Give me a Crazy Formula!" kata

      Python translation. Please, review and approve (the author is inactive).

      • FArekkusu
      • created an issue for "Give me a Crazy Formula!" kata

      If there isn't a middle digit and n > 9: remove the last digit

      It should be stated that other steps should still apply if this condition is true.

      • FArekkusu
      • created an issue for "Give me a Crazy Formula!" kata

      reduce it instead of sum

      It's "subtract", not "reduce".

      • RobsonMoon
      • created a suggestion for "Give me a Crazy Formula!" kata

      In the initial solution the brackets and white-space are inconsistent. It would be better like this:

      namespace CrazyFormula
      { 
        public class Crazy
        {
          public int CrazyFormula(long n)
          {
            //Have fun!
          }
        }
      }
      
      • KataSideKick
      • resolved an issue on "Give me a Crazy Formula!" kata

      Added random test.

      • Voile
      • created an issue for "Give me a Crazy Formula!" kata

      There are no random tests.

      • eb110
      • commented on "Give me a Crazy Formula!" kata

      I was struggling a bit, but author of this Kata has given me excellent explanation - i suggest to check my issue if someone of you are struggling too.

      • Arthur GC
      • commented on "Bit Plane Return" csharp solution

      @AdmiralRobinson, you've asked for help on my Kata (Give me a Crazy Formula!) and I just did that. Take a look there later! Cya :)

      • Arthur GC
      • commented on "Give me a Crazy Formula!" kata

      @AdmiralRobinson, I'll help you, below is why the result is 8:

      77633658797932970, middle number is odd (7), so we reduce it (second rule): 7+7+6+3+3+6+5+8(-7)+9+7+9+3+2+9+7+0 = 84

      84, there isn't a middle number in it and n > 9 so we remove the last digit (first rule) => 8

      So 8 is the answer.

      • eb110
      • commented on "Give me a Crazy Formula!" kata

      Hi - could you help me with this kata please - 77633658797932970 split into 77633658 - 7 + 97932970 = 175566621 => 1755^2 + 6 + 6621 = 3086652 => 308 + 6 - 652 = -338 => -3 - 3 + 8 = 2 / how this is possible that the result is 8?

      • Goto10
      • commented on "Stringy Strings" csharp solution

      It is recommended to use a StringBuilder when altering strings in loops. This is because the StringBuilder is mutable while strings are immutable. Hence, if you use a string and append to it, every iteration in the loop creates a new string object. This is far less effective than just appending a char to a mutable object.

      • Arthur GC
      • resolved an issue on "Give me a Crazy Formula!" kata

      Thanks for the feedback. Fixed!

      • myjinxin2015
      • created an issue for "Give me a Crazy Formula!" kata

      in the code , "public static" should be "public"

    • © 2021 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Contact
    • powered by

    Confirm

    • Cancel
    • Confirm