2023-06-10から1日間の記事一覧
accumulation, acc: 累積 edge, ed: 辺 factor, fac: 因数 rotate, rot: 回転 node, nd: 頂点
二次元の90度回転 (vv rotate 90) テンプレート auto vvrot90=[&](auto& vv, auto vf) vv: 2次元配列など(入力) vf: 入力の先頭要素 (vv[0][0]) using ll=long long; template<class T>using vec=vector<T>; auto vvrot90=[&](auto& vv, auto vf){ ll W=ll(vv.front().</t></class>…