{"title":"UVa10189 Minesweeper","width":"100%","image_url":null,"blog_title":"Logfiles","url":"https://logfiles.hatenablog.com/entry/20140906/1409999349","provider_url":"https://hatena.blog","description":"\u89e3\u8aac \u7206\u5f3e\u306e\u5468\u308a\u306e8\u65b9\u5411\u306e\u30ab\u30a6\u30f3\u30bf\u3092\u52a0\u7b97\u3059\u308b\u3002\u5b9f\u88c5\u65b9\u6cd5\u306b\u3082\u3088\u308b\u304c\u3001\u52a0\u7b97\u3059\u308b\u5834\u6240\u304c\u5225\u306e\u7206\u5f3e\u3068\u88ab\u3089\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3002 #include <iostream> #include <algorithm> #include <vector> using namespace std; int const dx[8] = {-1,0,1,0,-1,1,1,-1}; int const dy[8] = {0,-1,0,1,-1,-1,1,1}; int H, W; inline bool valid(int x, int y) { return 0<=x && x<W && 0<=y && y<H; } voi\u2026","published":"2014-09-06 19:29:09","categories":["UVa"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140906%2F1409999349\" title=\"UVa10189 Minesweeper - Logfiles\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","provider_name":"Hatena Blog","author_name":"moistx","blog_url":"https://logfiles.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/moistx/","version":"1.0","height":"190"}