2013-12-29から1日間の記事一覧
StarrySkyを解こうとしました. 枝刈りしていないので半分ぐらいTLEします. #include <cstdio> #include <string.h> #include <algorithm> #define X first #define Y second using namespace std; const int MAXN = 4096; typedef pair<int, int> P; typedef pair<P, int> STAR; int N; int cx[MAXN], cy[M</p,></int,></algorithm></string.h></cstdio>…