Skip to content

Instantly share code, notes, and snippets.

#pragma once
#include<optional>
#include<variant>
#include<tuple>
#include<string_view>
#include<functional>
#include<array>
#include<set>
namespace single_parse
//#define _DEBUG
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace RecursiveFunction
{
@plasma-effect
plasma-effect / parser.hpp
Created April 12, 2017 16:16
template_parser
// Copyright plasma-effect 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See at http://www.boost.org/LICENSE_1_0.txt)
#pragma once
#include<vector>
#include<optional>
#include<variant>
#include<memory>
#include<string>
@plasma-effect
plasma-effect / parser.hpp
Last active June 30, 2022 02:07
parser定期
// Copyright plasma-effect 2017.
// Distributed under the Boost Software License, Version 1.0.
// See http://www.boost.org/LICENSE_1_0.txt
#pragma once
#include<vector>
#include<optional>
#include<tuple>
#include<utility>
#include<map>
#include<array>
@plasma-effect
plasma-effect / main.cpp
Last active August 4, 2017 06:49
お前またparser作る気か
#include"xpeaming.hpp"
#include<iostream>
using namespace xpeaming;
struct ab_t
{
};
struct bc_t
{
@plasma-effect
plasma-effect / main.cpp
Created October 11, 2017 14:26
Auto Sweeper
#include<iostream>
#include<functional>
#include<algorithm>
#include<array>
#include<optional>
#include<random>
#include<sstream>
#include<queue>
constexpr int width = 9;
@plasma-effect
plasma-effect / Route.txt
Last active October 1, 2018 04:00
時止め巨人の仮面ルート
Cycle 1
クロックタウン入り
おばあちゃん×2
カカシ
Stray Fairy
平原でルピー集め(81r)
魔力
81r預ける
時のオカリナ
Set: []/オカリナ/[]
#pragma once
#include<type_traits>
#include<functional>
#include<numeric>
#include<algorithm>
#include<boost/range/irange.hpp>
#include<boost/range/adaptor/reversed.hpp>
namespace lib
{
using static System.Console;
using static System.Linq.Enumerable;
using CompetitiveCSharp;
namespace CSharpTest
{
static class Program
{
static void WriteTree(SegTree tree)
{
#pragma once
#include<type_traits>
// copyright (c) 2019 plasma-effect
// Distributed under the Boost Software License, Version 1.0.
// (See http://www.boost.org/LICENSE_1_0.txt)
namespace auto_indexer
{
enum