tozangezan's diary

勝手にソースコードをコピペして利用しないでください。

2014-11-01から1日間の記事一覧

AOJ 1281: The Morning after Halloween

AOJ

タイトルがタイトルなので11/1の午前中に解いておこうと思い、解いた。解法:実装するだけ。650とは思えない。空白マスがあんまり多くないことが大事。 #include<stdio.h> #include<algorithm> #include<queue> #include<vector> using namespace std; char str[20][20]; int dx[]={1,0,-1,0,0};</vector></queue></algorithm></stdio.h>…