# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1163126 | cpismylifeOwO | 동기화 (JOI13_synchronization) | C++20 | 264 ms | 45864 KiB |
#include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
const int MaxN = 1e6 + 5;
const int MaxLog = 20;
struct Edge
{
int u, v, pre;
bool open;
};
int n, m, q;
Edge edges[MaxN];
vector<int> graph[MaxN];
void Inp()
{
cin >> n >> m >> q;
for (int x = 1; x < n; x++)
{
cin >> edges[x].u >> edges[x].v;
edges[x].pre = edges[x].open = 0;
graph[edges[x].u].push_back(x);
graph[edges[x].v].push_back(x);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |