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
"latex-workshop.latex.tools": [ | |
{ | |
"name": "platex", | |
"command": "platex", | |
"args": [ | |
"-synctex=1", | |
"-interaction=nonstopmode", | |
"-file-line-error", | |
"%DOC%" | |
] |
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
// https://atcoder.jp/contests/kupc2020/tasks/kupc2020_c | |
#include <random> | |
#include "bits/stdc++.h" | |
using namespace std; | |
void solve() { | |
const uint64_t seed = 3169617890; | |
const int N = 18, CHAR_NUM = 26; |
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
\documentclass{jsarticle} | |
\usepackage[dvipdfmx]{graphicx} | |
\usepackage{listings} | |
\lstset{% | |
language={C}, | |
basicstyle={\small},% | |
identifierstyle={\small},% | |
commentstyle={\small\itshape},% | |
keywordstyle={\small\bfseries},% |
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
\documentclass[dvipdfmx,11pt,notheorems]{beamer} | |
%%%% 和文用 %%%%% | |
\usepackage{bxdpx-beamer} | |
\usepackage{pxjahyper} | |
\usepackage{minijs}%和文用 | |
\renewcommand{\kanjifamilydefault}{\gtdefault}%和文用 | |
%%%% スライドの見た目 %%%%% | |
\usetheme{Madrid} | |
\usefonttheme{professionalfonts} |
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
use std::sync::Arc; | |
struct List<T> { | |
head: Link<T>, | |
} | |
type Link<T> = Option<Arc<Node<T>>>; | |
struct Node<T> { | |
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
struct Node<T> { | |
elem: T, | |
next: Link<T>, | |
} | |
type Link<T> = Option<Box<Node<T>>>; | |
struct List<T> { | |
head: Link<T>, | |
size: u32, |
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 <boost/multiprecision/cpp_int.hpp> | |
// #include <boost/multiprecision/miller_rabin.hpp> | |
// #include <boost/random/mersenne_twister.hpp> | |
#include <gmpxx.h> | |
#include "bits/stdc++.h" | |
//#include "json.hpp" | |
#include "nlohmann/json.hpp" | |
using namespace std; | |
// namespace mp = boost::multiprecision; |