2014-06-16から1日間の記事一覧
#include <algorithm> #include <cstdio> #include <iostream> using namespace std; int graph[10][10]; void Init(void) { for (int i=0; i<10; ++i) for (int j=0; j<10; ++j) graph[i][j]=0; } void Slove(int x, int y, int size) { const int dx[12]={1, 0, -1, 0, 1, -1, -1, 1, 2,</iostream></cstdio></algorithm>…