# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
932898 | Servant_of_the_Lord | One-Way Streets (CEOI17_oneway) | C++17 | 1 ms | 348 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#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);
컴파일 시 표준 에러 (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... |