Take the 2-minute tour ×
English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. It's 100% free, no registration required.

I don't understand this sentence.... I know the meaning of all words except distinct... I looked in dictionary.. but I don't understand..:/

Output the number of distinct values when considered MOD 42, one per line for each test case.

share|improve this question
definition of distinct –  Matt Эллен Mar 27 '12 at 14:47
I've voted to close as General Reference, but I will point out that it's more often the number of discrete values, or in less elevated contexts, the number of different values. To my mind, distinct here is a bad choice, being neither the "academic/formal" nor the "popular vernacular" version. –  FumbleFingers Mar 27 '12 at 16:16
add comment

closed as general reference by Will Hunting, Matt Эллен, Mitch, FumbleFingers, simchona Mar 27 '12 at 17:22

This question is too basic; it can be definitively and permanently answered by a single link to a standard internet reference source designed specifically to find that type of information.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers

up vote 0 down vote accepted

This is more a programming question than an English question so I suspect it will soon be closed, but for what it's worth:

As Andrew and Will note, "distinct" means "different". So the problem is saying that you are to find the set of values -- I presume where you get the "raw" set is explained earlier in the problem -- and then take each value mod 42 (i.e. the remainder when you divide by 42), and output a list of only the distinct values found, i.e. if the same number shows up more than once, only output it once.

share|improve this answer
add comment

Dictionary reference

Separate; different.

In the specific example, you discard duplicated numbers. The number of distinct values in the set {1,1,2,2,3,4,56} is five: {1,2,3,4,56}

share|improve this answer
thanks... codechef.com/problems/NSIT13 ..pls look here... I don't undertand what I need to do with number here..:) –  Ammar Hadzic Mar 27 '12 at 14:52
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.