Ad
  • Default User Avatar

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

  • Default User Avatar
  • Default User Avatar

    Can confirm that caps lock on european keyboard behaves like permanently pressing shift key. This means caps lock and shift key at once negate each other.

    The description should say "caps lock only matters to letters". From the tests we only know it doesn't apply to numbers but have to find out ourselves about special characters like comma or apostrophe.

  • Default User Avatar

    Haha ok thank you I got it. But still it's quite hard for 7 kyu. I'm excited to see the other solutions.
    /edit Ok if you got some experience in code golfing it looks much easier.

  • Default User Avatar

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

  • Default User Avatar

    35 is too hard for 7 kyu. It took quite some time to figure out the shortest formula and then I can't get below 36 :-/

  • Default User Avatar

    This is hard because the description is misleading with all that friendship stuff.
    It should simply say that "numbers are in the same clan if they have the same subset of divisors (from the list). How many clans are there?"

  • Default User Avatar

    Well this is much too mathy for me. Does anyone have a better description, maybe a drawing?
    I know basic geometry like calculating length of a vector and so on. But what even is meant here by "size"?

  • Default User Avatar

    Changed to snake_case.

  • Default User Avatar

    Actually that tip is kind of misleading anyways. The solutions don't use this coordination system and it would overcomplicate it.
    Just use the common adding / subtraction / stretching of vectors.

  • Default User Avatar

    Just put it in a variable flag = and hit Test / Attempt. No return necessary.

  • Default User Avatar

    Cool, that's better. Thanks.

    Some picky annotations you might ignore without offense:

    • No comma before "and"

      teaching you about right triangles, and the Pythagorean Theorem

    • I don't understand why the following is bold. It's just an irrelevant part of the story, not part of the task:

      What are the possible integer lengths for the other side of the triangle given two sides aaa and bbb

    • New paragraph!

      On the test however,

    • It's a quote, just use quotation marks!?

      What are the possible integer lengths for the other side of the triangle given two sides aaa and bbb

    • Really long sentence. Just split it.

      two sides aaa and bbb, but since you never learned anything

      My suggestion:

      two sides aaa and bbb. However, since you never learned anything

  • Default User Avatar

    Please format your description better. Paragraphs, citations, emphasis.
    Unnecessarily hard to read and understand.
    Would have done it for you, but it's not editable.

  • Default User Avatar

    This was surprisingly hard for a 7 kyu. When you see the short solutions afterwards it doesn't look like it, but getting your iter indices right, not mutating the input and not falling in traps of references vs copies takes some above 7 kyu skill.

  • Default User Avatar

    Well the math is harder than the programming.

  • Loading more items...