제출 #695171

#제출 시각아이디문제언어결과실행 시간메모리
695171AbitoRailway (BOI17_railway)C++14
0 / 100
93 ms4208 KiB
#include <bits/stdc++.h> using namespace std; #define pb push_back #define F first #define S second #define int long long const int N=1e5+5; int n,m,k; pair<int,int> e[N]; int32_t main(){ cin>>n>>m>>k; for (int i=1;i<n;i++) cin>>e[i].F>>e[i].S; for (int i=1;i<=m;i++){ int z;cin>>z; for (int i=1;i<=z;i++){ int x;cin>>x; } } cout<<n-1<<endl; for (int i=1;i<n;i++) cout<<i<<' '; cout<<endl; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...