What is the meaning of pairwise distinct integers?

2019
beginner
challenge
jan
long
newbie
question

#1

I am a newbie on Codechef.
Any help will be appreciated :slight_smile:
If it is given in the problem statement that :
“All elements of the given array are pairwise distinct, does it mean that all the elements of the array are distinct ?”
Thanks in advance! :slight_smile:


#2

pairwise distinct means that,each element can’t be repeat more than once.

Ex:
1 2 200 345 12 45 —> In this one,all are pairwise distinct.

1 2 200 200 12 12 —> This is not pairwise distinct since, 200 12 are occur 2 times each.


#3

It means that each pair of integers in the sequence are distinct. In other words, there are no 2 integers in the sequence that are the same.

Eg: 2,4,3 follows this whereas 2,4,3,4 does not ( because there is a pair of integers that are NOT distinct namely 3,3 ).