Search found 1 match

by mbstu_nitai
Wed Mar 01, 2017 6:41 pm
Forum: Volume 7 (700-799)
Topic: 762 - We Ship Cheap
Replies: 51
Views: 29769

Re: 762 - We Ship Cheap

Why I am getting WA
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define inf 1000000000
map<string,ll>mp;
map<ll,string>mp2;
bool vis[100005];
ll dis[100005];
vector<ll>vec[100005];
ll par[100005];

void bfs(ll uu)
{
queue<ll>Q;
Q.push(uu);
dis[uu] = 0;
while(!Q.empty ...

Go to advanced search