Ad
  • Default User Avatar

    The list is all of the students that are accepted into any house.

  • Default User Avatar

    i believe this was in regards to whether the query is to run just for one particular house's criteria, or all.

    /necro

  • Custom User Avatar

    It's pretty clear in the description whether qualities are on an AND or an OR basis. Evil AND cunning. Studious OR intelligent.

    Don't worry about if failed Slytherins or Gryffindors end up in other houses. That's not how it really works. The hat just tells you where you go, not whether you just narrowly missed it. Some would say that's why there is Hufflepuff :)

  • Default User Avatar

    Looks to be polish for manufacturer.

  • Default User Avatar

    I completely agree. The way it is worded is ambiguous, because technically speaking, the following statement, "[i]f a chunk represents an integer such as the sum of the cubes of its digits is divisible by 2, reverse that chunk; otherwise rotate it to the left by one position", has a nearly vacuous antecedent. Namely, assuming that the input is always of integer type and assuming that every chunk is of appropriate length (which themselves are light weight assumptions), then it will always be true, said condition. In other words, it will always be true that the chunk is an integer. Why is this? It is because when you say "such as" it has the equivalent idiomatic meaning of "perhaps", which means it may or may not be true (or, in this case, it may or may not be required to be true). Thus, the real condition of importance is then "[i]f a chunk represents an integer".

    I believe the author meant to say "[i]f a chunk represents an integer [wherein] the sum of the cubes of its digits is divisible by 2 [...]". By making this small adjustment in language, the problem specification is now completely clear and unambiguous. I suggest this change (or similar, if deemed appropriate) be made.

    Otherwise, this is a great little kata!

  • Default User Avatar

    Please change "You have to find out how many unique products have each of the Producer."

    to:

    "You have to find out how many unique products each Producer has."

    also, there is no distinct statement within the count().

  • Custom User Avatar

    Do you want to paste your solution and mark it as a spoiler just incase there is something wrong with the kata itself?

  • Default User Avatar

    Needs additional description: will students be accepted based on passing all criteria, or only if it's at least 1 professor's criteria?

    Not a Harry Potter fan, so not sure how relevant this is.

  • Default User Avatar

    Needs additional description: will students be accepted based on passing all criteria, or only if it's at least 1 professor's criteria?

    Not a Harry Potter fan, so not sure how relevant this is.

  • Custom User Avatar

    lol! CW can be buggy

  • Default User Avatar

    Submitted a query, it didn't pass; waited 10 minutes, resubmitted and it worked. wtf?

  • Custom User Avatar

    Not all problems you will be given will have the most logical instructions. One must occasionally discern the meaning from plain English and from stories/scenarios.

  • Custom User Avatar

    The table is called "multipliers"...

  • Default User Avatar

    I had no idea that modifiedStrenth is a multiple of anything.... please be more specific with the instructions. Half the problem on here is lack of clarity. Jesus Christ man.

  • Default User Avatar

    Looking at the author's other Katas, I'm officially ignoring anything authored by him/her.

  • Loading more items...