夢追い人

"It takes a dreamer to make a dream come true."―Vincent Willem van Gogh

2011-11-13から1日間の記事一覧

522Div2.Easyと523本番

522 Div.2 Easy 二点を選んだときその四角形の中に入る他の点の数の最大を求める。 やるだけ class PointErasingTwo { public: int getMaximum( vector <int> y ) { int result = 0; for (int i=0; i</int>

Bronze埋め

ちょこっと 3051 #include <cstdio> #include <iostream> #include <vector> #include <algorithm> using namespace std; int d[4][2] = {{1,0}, {0,1},{-1,0},{0,-1}}; int W, H; vector<string> maps; int solve(int x, int y) { maps[x][y]='.'; int res = 1; for (int i=0; i<4; i++) { int nx = x + d</string></algorithm></vector></iostream></cstdio>…