2018-03-07から1日間の記事一覧
まずは「ハッシュ」という言葉をスルーしてそのまま書いた場合。これは時間切れになります。 #include <iostream> #include <vector> #include <string> #include <algorithm> using namespace std; int main() { int n; cin >> n; vector<string> dictionary; dictionary.reserve(1000000); string comman</string></algorithm></string></vector></iostream>…