Programming Challenge: #1?
This first of the series of programming difficulties: There exists a treasure in one of N rooms.The actual rooms usually are numbered 0 to N-1.In each room there exists a slip, in which there exists a room quantity, or any treasure (signalled simply by -1).If inside the slip you find …