# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
90664 | 314rate | 007 (CEOI14_007) | C++14 | 605 ms | 73212 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
const int N=2000000+5;
int n;
int m;
int s,d,a,b;
int di[2][N];
vector<int>g[N];
void build(int k,int go)
{
for(int j=0;j<N;j++)
{
di[k][j]=-1;
}
di[k][go]=0;
queue<int>q;
q.push(go);
while(!q.empty())
{
int nod=q.front();
q.pop();
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |