Skip to content

Instantly share code, notes, and snippets.

View joechenrh's full-sized avatar
😭
相对失败的一生

Ruihao Chen joechenrh

😭
相对失败的一生
View GitHub Profile
@joechenrh
joechenrh / link.md
Last active January 30, 2024 03:34
Vertebra dataset download
@joechenrh
joechenrh / dijkstra.h
Created July 12, 2020 09:23
dijkstra template
struct cmp
{
bool operator()(const pair<int,double>& a, const pair<int,double>& b)const
{
return a.second > b.second;
}
};
class Solution {
public:
double maxProbability(int n, vector<vector<int>>& edges, vector<double>& dists, int start, int end) {
@joechenrh
joechenrh / MD5.h
Created June 4, 2020 15:14
C++ implementation of the MD5 Hash
//
// Created by dhche on 2020/6/3.
//
#ifndef UNTITLED_MD5_H
#define UNTITLED_MD5_H
#include <string.h>
#include <string>
We couldn’t find that file to show.
We couldn’t find that file to show.