All submissions for this problem are available.
The state space of the output of this problem (and as a matter of fact, all the problems in this Cook-Off) is - 2 to the power T -
where T is the number of test cases (so be extra careful!). Each test case consists of T lines consisting of "YES" or "NO".
If a test case accurately represents the output that you would print for this file,
then print "YES" for this case. Print "NO" otherwise.
The output for a file is defined as the output for all the test cases one by one. If you output "YES" for test case 'x', then your output
must match the input for the test case 'x', and if and only if your output does not match the input for test case 'x', should you print "NO"
for that case.
The first Line contains a single number T, the number of test cases.
Each test case contains T lines. Each line is either "YES" or "NO". The T lines together represent the candidate output for this problem.
If the candidate-output (that you got in the input) is what you are going to print then print "YES", and
only if it is different, print "NO". The output for each case must be on a single line by itself.
1 ≤ T ≤ 100 There is only one unique valid output that you can print
2 NO NO NO YES
Your output clearly matches the input for the second case. No other output can be valid for this file.
|Tags||ad-hoc, cook25, gamabunta|
|Time Limit:||0.306667 sec|
|Source Limit:||50000 Bytes|
|Languages:||C, JAVA, PYTH, CS2, PAS fpc, PAS gpc, RUBY, PHP, GO, HASK, SCALA, D, PERL, FORT, ADA, CAML, ASM, CLPS, ICON, SCM qobi, PIKE, ST, NICE, LUA, BASH, NEM, LISP sbcl, LISP clisp, SCM guile, ERL, TCL|
Fetching successful submissions