567 - Risk

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

Moderator: Board moderators

samir_h
New poster
Posts: 11
Joined: Wed Mar 18, 2015 8:47 am

Re: 567 - Risk

Post by samir_h » Tue Mar 08, 2016 8:31 am

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.
Last edited by samir_h on Tue Mar 08, 2016 8:38 am, edited 1 time in total.

samir_h
New poster
Posts: 11
Joined: Wed Mar 18, 2015 8:47 am

567 - Risk: Output Format

Post by samir_h » Tue Mar 08, 2016 8:34 am

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.

Post Reply

Return to “Volume 5 (500-599)”