---
# System prepended metadata

title: 貴貴亂講＠一中資奧研習 20220208

---

# 貴貴亂講＠一中資奧研習 20220208 
## 資奧
2021 一中資奧研習投影片
https://hackmd.io/@pr3pony/ryatT5Skd
便宜的演算法比賽網路資源整理
https://hackmd.io/@pr3pony/HysEHoYe8


## Vim 教學
http://www.csie.ntu.edu.tw/~b06902052/vim-slide/

## debug 技巧(?)
sanitizer
https://oi-wiki.org/tools/cmd/#sanitizers
對拍
https://oi-wiki.org/contest/common-tricks/#_4

## Bash (?)
factor
openssl generate prime?
seq


## random (?)
template< class Sseq >
explicit mersenne_twister_engine( Sseq& s );
(3)	(since C++11)
https://en.cppreference.com/w/cpp/numeric/random/mersenne_twister_engine/mersenne_twister_engine


std::seed_seq seq{1, 2, 3, 4, 5};
std::mt19937 eng(seq);

https://en.wikipedia.org/wiki/Mersenne_Twister#Initialization

去年ㄉ抽獎程式（？）
https://gist.github.com/prprprpony/b34d4cdf2914e4de3f614b1821811c17


抽獎 best practice (?)
漫談尾牙抽獎程式的公正性-黑暗執行緒
https://blog.darkthread.net/blog/lucky-draw-program/
