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

×

Implementation of Dijkstra's Algorithm using set data structure in C++

0
1

I was trying to implement Dijkstra using set data structure in C++. I was coding in C++14 and there seems to be something out of order in the code for it is not giving me the right answer in Codechef IDE and on DevCpp it is not even compiling!

I believe the code is logically sound and there are only semantic errors in it.

Implementing Dijkstra using set in C++

This question is marked "community wiki".

asked 18 Jan, 11:36

alathedarkwiz's gravatar image

2★alathedarkwiz
1313
accept rate: 0%


Ignore this I have figured it out. (BTW, the code works. And is logically sound feel free to use it if needed.)

link

answered 18 Jan, 17:39

alathedarkwiz's gravatar image

2★alathedarkwiz
1313
accept rate: 0%

toggle preview
Preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×834
×165
×141

question asked: 18 Jan, 11:36

question was seen: 94 times

last updated: 18 Jan, 17:39