제출 #1263979

#제출 시각아이디문제언어결과실행 시간메모리
1263979_callmelucianLOSTIKS (INOI20_lostiks)C++17
0 / 100
0 ms324 KiB
#include <bits/stdc++.h>
using namespace std;

using ll = long long;
using ld = long double;
using pl = pair<ll,ll>;
using pii = pair<int,int>;
using tpl = tuple<int,int,int>;

#define all(a) a.begin(), a.end()
#define filter(a) a.erase(unique(all(a)), a.end())

int main()
{
    ios::sync_with_stdio(0);
    cin.tie(0);

    int n, s, t; cin >> n >> s >> t;
    set<int> used;

    for (int i = 1; i < n; i++) {
        int a, b, c; cin >> a >> b >> c;
        if (c && used.count(c)) while (true);
        else if (c) used.insert(c);
    }

    return 0;
}
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…