11841 - Y-game

All about problems in Volume 118. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Post Reply
krien
New poster
Posts: 5
Joined: Mon Sep 20, 2010 12:51 pm

11841 - Y-game

Post by krien » Mon Sep 20, 2010 1:23 pm

I reckon that the statement is a little confusing. Could anyone say me what is the correct output for these cases?

Code: Select all

3 4
2 0 1
3 0 0
0 2 1
0 3 0
3 2
0 0 3
0 1 2
2 3
2 0 0
1 1 0
0 2 0
3 4
1 0 2
1 1 1
2 0 1
3 0 0
3 4
3 0 0
2 0 1
1 0 2
0 1 2
2 3
0 1 1
1 1 0
2 0 0
3 4
3 0 0 
2 1 0
1 2 0
0 3 0
2 2
1 0 1
0 1 1
2 3
2 0 0
1 0 1
0 1 1
2 3
1 0 1
0 1 1
1 1 0
2 3
0 0 2
1 0 1
2 0 0
1 2
0 0 1
0 1 0
1 2
1 0 0
0 0 1
0 1
0 0 0
0 0
Thanks to all!

P.D: I was wrong on some input data. Can anyone say the correct output for this data? thanks again.
Last edited by krien on Mon Sep 20, 2010 5:35 pm, edited 1 time in total.

Khongor_SMCS
New poster
Posts: 15
Joined: Thu Jun 18, 2009 12:01 pm
Contact:

Re: 11841 - Y-game

Post by Khongor_SMCS » Mon Sep 20, 2010 3:22 pm

Your tests are incorrect, in each coordinate x+y+z must equal to n

krien
New poster
Posts: 5
Joined: Mon Sep 20, 2010 12:51 pm

Re: 11841 - Y-game

Post by krien » Mon Sep 20, 2010 5:51 pm

Khongor_SMCS wrote:Your tests are incorrect, in each coordinate x+y+z must equal to n
Thanks Khongor_SMCS. I checked the input data and the tests are currently correct.

pdwd
New poster
Posts: 19
Joined: Sat May 15, 2010 4:35 pm

Re: 11841 - Y-game

Post by pdwd » Mon Sep 20, 2010 8:25 pm

Code: Select all

Willy
Willy
Benny
Willy
Benny
Benny
Benny
Willy
Benny
Benny
Benny
Benny
Benny
Benny

Post Reply

Return to “Volume 118 (11800-11899)”