제출 #1263978

#제출 시각아이디문제언어결과실행 시간메모리
1263978_callmelucianLOSTIKS (INOI20_lostiks)C++17
0 / 100
2095 ms320 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 = 0; 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;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...