Project Euler #83: Path sum: four ways

  • + 0 comments

    for C++ remove all log fector of searching in map mean's do not use map use 2d array of list of pair, int i got AC using

    long long dist[701][701];
    list<pair<pair<int,int>,int>> graph[701][701];
    

    use stl set c++ as priority queue.