2020-03-01から1ヶ月間の記事一覧
概要 到達当時の記録 AtCoder AtCoder Performances AtCoder Problems AtCoder Scores ライブラリ Library | This documentation is automatically generated by online-judge-verify-helper
概要 競プロ用の C++ ライブラリを作るための struct の使い方を説明する メンバ変数 struct を使うと、std::pair<int, int> と似たようなものを作ることが出来ます。 #include <iostream> struct t { int a; int b; }; int main() { t x; x.a = 1; x.b = 2; std::cout << x.a <<</iostream></int,>…