Skip to content

Instantly share code, notes, and snippets.

View cartersusi's full-sized avatar
🌛

Carter Susi cartersusi

🌛
View GitHub Profile
// 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;