この記事について
AtCoderのコンテスト参加中に操作がわからなくなったりした時のためのメモ
(ほぼ自分用です。。)
参加中に見るためのマニュアル
テンプレコード
とりあえずファイル作ったらこれ貼っとけ(実務では決してこんなことすなよ)
#include<bits/stdc++.h>
using namespace std;
template<class T> inline bool chmin(T& a, T b) {
if (a > b) { a = b; return true; }
else return false;
}
template<class T> inline bool chmax(T& a, T b) {
if (a < b) { a = b; return true; }
return false;
}
int main () {
}
ACLとchmin/chmaxはほぼ必須なイメージですな。。
AtCoder CLI
VScodeでのデバッグ
環境構築系