2018-03-30から1日間の記事一覧
高さの算出が前回と違うところですね。構造体にメソッドがつけられることを忘れていたので若干処理を移動しました。あまりキレイではないですがこれくらいで。。 #include <iostream> #include <vector> #include <string> #include <cstdio> #include <algorithm> using namespace std; static const stri</algorithm></cstdio></string></vector></iostream>…