This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A C++ program for Bellman-Ford's single source | |
// shortest path algorithm. | |
// nvcc -std=c++11 BellmanFord.cu -D_MWAITXINTRIN_H_INCLUDED -D__STRICT_ANSI__ | |
#include <stdio.h> | |
#include <climits> | |
#include <random> | |
#include <chrono> | |
#include <ctime> | |
using namespace std; |