12675 - Hide and seek

All about problems in Volume 126. 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
brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

12675 - Hide and seek

Post by brianfry713 »

Use this thread to discuss this problem.
Check input and AC output for thousands of problems on uDebug!
lighted
Guru
Posts: 587
Joined: Wed Jun 11, 2014 9:56 pm
Location: Kyrgyzstan, Bishkek

Re: 12675 - Hide and seek

Post by lighted »

Got wa. Need some critical input.

Code: Select all

2 2 1
13 11
17 15
1 5 8 13
Why for input above udebug(UVa Online Judge's solution) gives output

Code: Select all

0
0
Two seeking kids see each other. So output should 1 for each kid. Is this bug?

Code: Select all

1
1
A person who sees the good in things has good thoughts. And he who has good thoughts receives pleasure from life... Bediuzzaman
Post Reply

Return to “Volume 126 (12600-12699)”