You are not logged in. Please login at to post your questions!


Can anyone help, getting wrong in SPOJ's road network problem?

I have been trying to solve the problem RDNWK - Road Network problem from spoj, and I am getting the wrong ans. I am not able to figure out what is wrong with my code. Can anyone help me with this. Here is the link to my code. The problem is based on Floyd Warshall's algorithm.

asked 17 Mar, 20:47

arpit728's gravatar image

accept rate: 10%

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 17 Mar, 20:47

question was seen: 119 times

last updated: 18 Mar, 08:57