2018-03-19から1日間の記事一覧
悩んだのは stable の判定ってどうするの?という部分です。過去の安定ソートと比較する、というのは思いつきませんでした。余計な時間がかかりそうですし。 #include <iostream> #include <vector> #include <algorithm> #include <cstdint> using namespace std; struct Card { char suit; int va</cstdint></algorithm></vector></iostream>…