# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
799807 | 2023-08-01T03:58:25 Z | PixelCat | Toy Train (IOI17_train) | C++14 | 0 ms | 0 KB |
#ifdef NYAOWO #include "grader.cpp" #endif #include "train.h" #include <bits/stdc++.h> #define For(i, a, b) for(int i = a; i <= b; i++) #define Forr(i, a, b) for(int i = a; i >= b; i--) #define F first #define S second #define all(x) x.begin(), x.end() #define sz(x) ((int)x.size()) #define eb emplace_back #define int LL using namespace std; using i32 = int32_t; using LL = long long; using pii = pair<int, int>; const int MAXN = 5000; vector<int> adj[MAXN + 10]; vector<int> rev[MAXN + 10]; int deg[MAXN + 10]; vector<i32> who_wins(vector<i32> a, vector<i32> r, vector<i32> u, vector<i32> v) { int n = sz(a); int m = sz(u); return mango; } /* 2 4 0 1 1 0 0 0 0 1 1 0 1 1 1 1 */