Re: [gcj] Explanation to a past contest problem

2019-03-08 Thread Harshad
Thank you Paul, your response is duly appreciated. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/c6c914f0-1097-43c9-8b23-275753703648%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gcj] Explanation to a past contest problem

2019-03-06 Thread Paul Smith
For every pair of names, one of the names has to go into group A, and the
other into group B.  Your task is to decide whether this is possible.

In the sample, there are 2 test cases.
The first test case has only 1 pair.
The pair is Dead_Bowie and Fake_Thomas_Jefferson.

Can this pair be split into group A and group B?  Yes.  Put Dead_Bowine in
group A, put Fake_Thomas_Jefferson in group B, and you're done.  The answer
is Yes.

The second test case contains 3 pairs.
The first pair is Dead_Bowie and Fake_Thomas_Jefferson.  Let's decide to
put Dead_Bowie in Group A, and Fake_Thomas_Jefferson in Group B.
The second pair is Fake_Thomas_Jefferon and Fury_Leika.  We already put
Fake_Thomas_Jefferson into Group B, so we must put Fury_Leika in Group A.
The third pair is Fury_Leika and Dead_Bowie.  We already put Fury_Leika
into Group A, and Dead_Bowie also into Group A.  Therefore it is not
possible to split the 3 people into 2 groups maintaining all these splits,
so the answer is No.

On Wed, 6 Mar 2019 at 15:53 Harshad  wrote:

> On Wednesday, March 6, 2019 at 8:46:12 PM UTC+5:30, Luke Pebody wrote:
> > You are supposed to work out if you can take the collection of all of
> the names given and split them into two groups Group A and Group B so that
> each of the pairs listed has one name in Group A and one name in Group B.
> >
> >
> >
> > On Wed, 6 Mar 2019, 3:12 pm Harshad  > Hello,
> >
> > I didn't understand what this problem statement wants us to do, and I'd
> really like it if someone helps me out.
> >
> >
> >
> > Link: https://code.google.com/codejam/contest/2933486/dashboard
> >
> > Details: The input is a pair of troublesome members. What do the
> multiple pairs with the same name mean? How will I judge if two groups can
> be separated or not? Requesting help ASAP.
> >
> > Thanks.
> >
> >
> >
> > --
> >
> > You received this message because you are subscribed to the Google
> Groups "Google Code Jam" group.
> >
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to google-code...@googlegroups.com.
> >
> > To post to this group, send email to googl...@googlegroups.com.
> >
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-code/7dbf9cf8-3df6-4c46-9121-1c55a92a7111%40googlegroups.com
> .
> >
> > For more options, visit https://groups.google.com/d/optout.
>
> Okay, so is it like one name should not occur in both the groups out of
> all listed pairs, and assume the left column to be group A and right column
> to be group B in the pair of names for multiple inputs. Is that what you're
> saying?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Code Jam" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-code+unsubscr...@googlegroups.com.
> To post to this group, send email to google-code@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-code/a9f67ca0-68e9-46db-8050-2b639520a2b4%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CAJej63L6mgXTRML9zQ_UoB1vc6xVV7UVtZGHg7jGytNx8yWWpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gcj] Explanation to a past contest problem

2019-03-06 Thread Harshad
On Wednesday, March 6, 2019 at 8:46:12 PM UTC+5:30, Luke Pebody wrote:
> You are supposed to work out if you can take the collection of all of the 
> names given and split them into two groups Group A and Group B so that each 
> of the pairs listed has one name in Group A and one name in Group B.
> 
> 
> 
> On Wed, 6 Mar 2019, 3:12 pm Harshad  Hello,
> 
> I didn't understand what this problem statement wants us to do, and I'd 
> really like it if someone helps me out. 
> 
> 
> 
> Link: https://code.google.com/codejam/contest/2933486/dashboard
> 
> Details: The input is a pair of troublesome members. What do the multiple 
> pairs with the same name mean? How will I judge if two groups can be 
> separated or not? Requesting help ASAP.
> 
> Thanks.
> 
> 
> 
> -- 
> 
> You received this message because you are subscribed to the Google Groups 
> "Google Code Jam" group.
> 
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to google-code...@googlegroups.com.
> 
> To post to this group, send email to googl...@googlegroups.com.
> 
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-code/7dbf9cf8-3df6-4c46-9121-1c55a92a7111%40googlegroups.com.
> 
> For more options, visit https://groups.google.com/d/optout.

Okay, so is it like one name should not occur in both the groups out of all 
listed pairs, and assume the left column to be group A and right column to be 
group B in the pair of names for multiple inputs. Is that what you're saying?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/a9f67ca0-68e9-46db-8050-2b639520a2b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gcj] Explanation to a past contest problem

2019-03-06 Thread Luke Pebody
You are supposed to work out if you can take the collection of all of the
names given and split them into two groups Group A and Group B so that each
of the pairs listed has one name in Group A and one name in Group B.

On Wed, 6 Mar 2019, 3:12 pm Harshad  Hello,
> I didn't understand what this problem statement wants us to do, and I'd
> really like it if someone helps me out.
>
> Link: https://code.google.com/codejam/contest/2933486/dashboard
> Details: The input is a pair of troublesome members. What do the multiple
> pairs with the same name mean? How will I judge if two groups can be
> separated or not? Requesting help ASAP.
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Code Jam" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-code+unsubscr...@googlegroups.com.
> To post to this group, send email to google-code@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-code/7dbf9cf8-3df6-4c46-9121-1c55a92a7111%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CAECKw-Oazoqe85JW%2Bd6JmUEmtRnCk%2BTWh0PoG3H1fBwJOkV2OQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[gcj] Explanation to a past contest problem

2019-03-06 Thread Harshad
Hello,
I didn't understand what this problem statement wants us to do, and I'd really 
like it if someone helps me out. 

Link: https://code.google.com/codejam/contest/2933486/dashboard
Details: The input is a pair of troublesome members. What do the multiple pairs 
with the same name mean? How will I judge if two groups can be separated or 
not? Requesting help ASAP.
Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/7dbf9cf8-3df6-4c46-9121-1c55a92a7111%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.