This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO URL | |
from collections import * | |
from functools import * | |
import itertools | |
import re | |
import sys | |
def solve(data): | |
for line in data.splitlines(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TODO URL | |
#include <bits/stdc++.h> | |
#define all(x) begin(x), end(x) | |
#define sz(x) ((int)(x).size()) | |
using ll = long long; | |
using namespace std; | |
void solve(istream& ins) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef DISJOINT_SET_HH_ | |
#define DISJOINT_SET_HH_ | |
#include <map> | |
template<typename T> | |
class disjoint_set | |
{ | |
struct elem_t | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
#define all(x) begin(x), end(x) | |
#define sz(x) ((int)(x).size()) | |
using ll = long long; | |
using namespace std; | |
int main() | |
{ | |
ios_base::sync_with_stdio(false); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Layout] | |
DriveBar1=1 | |
DriveBar2=0 | |
DriveBarFlat=1 | |
InterfaceFlat=1 | |
DriveCombo=0 | |
DirectoryTabs=1 | |
XPthemeBg=0 | |
CurDir=1 | |
TabHeader=1 |