# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
933089 | Servant_of_the_Lord | One-Way Streets (CEOI17_oneway) | C++17 | 0 ms | 348 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>
#define ll long long
using namespace std;
main()
{
ios_base::sync_with_stdio(0);
cin.tie(0);
ll x,y,z,a,b,c;
cin>>x>>y;
vector<vector<vector<ll>>>v(x);
for(ll i=0;i<y;i++)
{
cin>>a>>b;
a--,b--;
v[a].push_back({b,1,i});
v[b].push_back({a,0,i});
}
ll timer=0;
vector<ll>w(x),u(y);
cin>>z;
for(ll i=0;i<z;i++)
{
cin>>a>>b;
a--,b--;
w[a]++;
w[b]--;
}
vector<ll>id(x),low(x);
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |