UVa 340 - Master-Mind Hints

340 - Master-Mind Hints

 * http://uva.onlinejudge.org/external/3/340.html

Summary
Compare first line of numbers (Secret) with the following arbitrary number of lines of numbers (Guesses).

Explanation
INPUT: N, S, (G...) Foreach G:	// Comparate with S:	Foreach G_i: If G_i == S_i: MARK both, strong++ Foreach G_i: If G_i in S:			MARK S_g, weak++, break MARK G_i OUTPUT

Gotchas

 * Do not print '\t'. Output 4 spaces instead.