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
// | |
// Created by dhche on 2020/6/3. | |
// | |
#ifndef UNTITLED_MD5_H | |
#define UNTITLED_MD5_H | |
#include <string.h> | |
#include <string> |
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
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) { |
链接: https://pan.baidu.com/s/1b__2ccfozS809W4rsb1Lig 提取码: 28wn
包含Verse2019和dataset15的数据