Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
The list is all of the students that are accepted into any house.
i believe this was in regards to whether the query is to run just for one particular house's criteria, or all.
/necro
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 :)
Looks to be polish for manufacturer.
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!
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().
Do you want to paste your solution and mark it as a spoiler just incase there is something wrong with the kata itself?
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.
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.
lol! CW can be buggy
Submitted a query, it didn't pass; waited 10 minutes, resubmitted and it worked. wtf?
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.
The table is called "multipliers"...
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.
Looking at the author's other Katas, I'm officially ignoring anything authored by him/her.
Loading more items...