Page 4 of 4

Re: 567 - Risk

Posted: Tue Mar 08, 2016 8:31 am
by samir_h
Follow Floyd Warshall (not BFS)

For each case:
  • 1. At the end of showing output, print a blank line.
  • 2. Print another blank line so that next case can start from here.
i.e. After last case there will be 2 blank lines.

567 - Risk: Output Format

Posted: Tue Mar 08, 2016 8:34 am
by samir_h
For a case:
  • 1. At the end of showing output, print a blank line.
  • 2. Print another blank line, so that next case's output can be shown from here.
i.e. At the end there will be 2 blank lines.