ホームページ  >  記事  >  データベース  >  Codeforces Round #263 (div2) A. Appleman and Easy Task

Codeforces Round #263 (div2) A. Appleman and Easy Task

WBOY
WBOYオリジナル
2016-06-07 15:31:33996ブラウズ

Toastman came up with a very easy task. He gives it to Appleman, but Appleman doesn't know how to solve it. Can you help him? Given a n ?×? n checkerboard. Each cell of the board has either character ' x ', or character ' o '. Is it true

Toastman came up with a very easy task. He gives it to Appleman, but Appleman doesn't know how to solve it. Can you help him?

Given a n?×?n checkerboard. Each cell of the board has either character 'x', or character 'o'. Is it true that each cell of the board has even number of adjacent cells with 'o'? Two cells of the board are adjacent if they share a side.

声明:
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。