# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1096683 | nguyenvu | Railway (BOI17_railway) | C++14 | 2 ms | 1628 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
#define endl "\n"
#define FILE "SUADUONG"
using namespace std;
int n,m,k;
vector<int> a[50005];
int main()
{
ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
freopen(FILE".inp","r",stdin);
freopen(FILE".out","w",stdout);
cin>>n>>m>>k;
for(int i=1;i<n;i++){
int u,v;
cin>>u>>v;
a[u].push_back(v);
a[v].push_back(u);
}
while(m--){
int x;
cin>>x;
for(int i=1;i<=x;i++){
int y;
cin>>y;
}
}
cout<<0;
}
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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |