11153 - Museums

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

Moderator: Board moderators

tzupengwang
New poster
Posts: 36
Joined: Fri Dec 02, 2011 1:30 pm
Location: Kaohsiung, Taiwan

Re: 11153 - Museums

Post by tzupengwang » Wed Jan 23, 2013 4:20 pm

Could anyone post some I/O ?
Thanks~ :D

forthright48
New poster
Posts: 37
Joined: Wed Mar 14, 2012 11:57 am
Location: Bangladesh
Contact:

Re: 11153 - Museums

Post by forthright48 » Mon May 05, 2014 9:35 am

Here is a tricky case:
Input:

Code: Select all

2
1 2 1 1
1 1
0 1 1
1 17 1 1
1 1
0 1 1
Output:

Code: Select all

Case 1: No possible trip.
Case 2: 1
What ever happens, happens for good. Even when we get WA :p
http://www.forthright48.com

Post Reply

Return to “Volume 111 (11100-11199)”