답안 #695171

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
695171 2023-02-04T18:57:50 Z Abito Railway (BOI17_railway) C++14
0 / 100
93 ms 4208 KB
#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;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 91 ms 4208 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 93 ms 4104 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 93 ms 4104 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -