{"title":"UVa10260 Soundex","description":"\u89e3\u6cd5\u306f\u81ea\u660e\u3060\u304c prev = 0 \u306e\u4f4d\u7f6e\u3092 while \u306e\u5916\u306b\u3057\u3066\u3044\u3066\u30d0\u30b0\u53d6\u308a\u306b\u6642\u9593\u304c\u304b\u304b\u3063\u305f\u306a\u3069\u3068\u306f\u8a00\u3048\u306a\u3044\u3002 #include <bits/stdc++.h> using namespace std; int main() { map<char, int> mp; for(char i='A'; i<='Z'; i++) mp[i] = 0; mp['B'] = mp['F'] = mp['P'] = mp['V'] = 1; mp['C'] = mp['G'] = mp['J'] = mp['K'] = mp['Q'] = mp['S'] = mp['X'] = mp['Z'] = 2;\u2026","blog_title":"Logfiles","blog_url":"https://logfiles.hatenablog.com/","version":"1.0","provider_url":"https://hatena.blog","categories":["UVa"],"url":"https://logfiles.hatenablog.com/entry/20140904/1409830335","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140904%2F1409830335\" title=\"UVa10260 Soundex - Logfiles\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","image_url":null,"author_url":"https://blog.hatena.ne.jp/moistx/","author_name":"moistx","published":"2014-09-04 20:32:15","provider_name":"Hatena Blog","height":"190","type":"rich"}