 
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://adonaimedrado.pro.br/wiki/index.php?action=history&amp;feed=atom&amp;title=Problema_do_jogo_GO</id>
		<title>Problema do jogo GO - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://adonaimedrado.pro.br/wiki/index.php?action=history&amp;feed=atom&amp;title=Problema_do_jogo_GO"/>
		<link rel="alternate" type="text/html" href="https://adonaimedrado.pro.br/wiki/index.php?title=Problema_do_jogo_GO&amp;action=history"/>
		<updated>2026-05-27T01:13:34Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>https://adonaimedrado.pro.br/wiki/index.php?title=Problema_do_jogo_GO&amp;diff=666&amp;oldid=prev</id>
		<title>200.17.147.2: /* Dificuldade 1 */</title>
		<link rel="alternate" type="text/html" href="https://adonaimedrado.pro.br/wiki/index.php?title=Problema_do_jogo_GO&amp;diff=666&amp;oldid=prev"/>
				<updated>2008-10-15T14:02:09Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Dificuldade 1&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 14:02, 15 October 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Dificuldade 1 ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Dificuldade 1 ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Considere o jogo de lógica chinesa [http://pt.wikipedia.org/wiki/Go Go].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Considere o jogo de lógica chinesa [http://pt.wikipedia.org/wiki/Go Go&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;], na sua variação conhecida como [http://brainking.com/pt/GameRules?tp=9 Reversi&lt;/ins&gt;].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Faça uma classe JogoGO com o método público Dificuldade1 que receberá como parâmetros (1) uma matriz int[][] quadrada, MxM, representativa de uma partida do jogoGO e (2) um int que identificará de quem é a vez. O retorno deste método deverá ser o valor (int) da quantidade máxima de casas adversárias que podem ser tomadas por uma jogada.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Faça uma classe JogoGO com o método público Dificuldade1 que receberá como parâmetros (1) uma matriz int[][] quadrada, MxM, representativa de uma partida do jogoGO e (2) um int que identificará de quem é a vez. O retorno deste método deverá ser o valor (int) da quantidade máxima de casas adversárias que podem ser tomadas por uma jogada.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot; &gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Exemplo ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Exemplo ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Entrada ====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Entrada ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; { { 0 0 0 0 0 0 0 0 0 0 },&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; { { 0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0 },&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  { 0 0 0 0 0 1 0 0 0 0 },&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  { 0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;1&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0 },&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  { 0 0 0 0 0 1 0 0 0 0 },&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  { 0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;1&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0 },&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  { 0 0 0 0 2 2 2 0 0 0 },&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  { 0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;2&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;2&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;2&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0 },&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  { 0 0 0 0 1 1 2 0 0 0 },&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  { 0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;1&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;1&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;2&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0 },&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  { 0 0 0 0 1 2 1 0 0 0 },&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  { 0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;1&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;2&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;1&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0 },&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  { 0 0 0 1 0 0 0 1 0 0 },&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  { 0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;1&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;1&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0 },&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  { 0 0 0 0 0 0 0 0 0 0 },&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  { 0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0 },&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  { 0 0 0 0 0 0 0 0 0 0 },&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  { 0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0 },&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  { 0 0 0 0 0 0 0 0 0 0 } }, 2&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  { 0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;0 } }, 2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Saída ====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Saída ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; 3&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; 3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>200.17.147.2</name></author>	</entry>

	<entry>
		<id>https://adonaimedrado.pro.br/wiki/index.php?title=Problema_do_jogo_GO&amp;diff=657&amp;oldid=prev</id>
		<title>189.105.26.34: New page: == Dificuldade 1 == Considere o jogo de lógica chinesa [http://pt.wikipedia.org/wiki/Go Go].  Faça uma classe JogoGO com o método público Dificuldade1 que receberá como parâmetros (1...</title>
		<link rel="alternate" type="text/html" href="https://adonaimedrado.pro.br/wiki/index.php?title=Problema_do_jogo_GO&amp;diff=657&amp;oldid=prev"/>
				<updated>2008-10-15T09:24:57Z</updated>
		
		<summary type="html">&lt;p&gt;New page: == Dificuldade 1 == Considere o jogo de lógica chinesa [http://pt.wikipedia.org/wiki/Go Go].  Faça uma classe JogoGO com o método público Dificuldade1 que receberá como parâmetros (1...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Dificuldade 1 ==&lt;br /&gt;
Considere o jogo de lógica chinesa [http://pt.wikipedia.org/wiki/Go Go].&lt;br /&gt;
&lt;br /&gt;
Faça uma classe JogoGO com o método público Dificuldade1 que receberá como parâmetros (1) uma matriz int[][] quadrada, MxM, representativa de uma partida do jogoGO e (2) um int que identificará de quem é a vez. O retorno deste método deverá ser o valor (int) da quantidade máxima de casas adversárias que podem ser tomadas por uma jogada.&lt;br /&gt;
&lt;br /&gt;
Considere que:&lt;br /&gt;
*uma jogada é válida na horizontal, vertical ou diagonal.&lt;br /&gt;
*a matriz int[][] conterá os valores 0,1 e 2, sendo zero utilizado para casas vazias, 1 para o jogador 1 e 2 para o jogador 2.&lt;br /&gt;
*o parâmetro int poderá ser 1 ou 2, sendo 1 identificando que é a vez do jogador 1 e 2 que é a vez do jogador 2.&lt;br /&gt;
&lt;br /&gt;
=== Exemplo ===&lt;br /&gt;
==== Entrada ====&lt;br /&gt;
 { { 0 0 0 0 0 0 0 0 0 0 },&lt;br /&gt;
   { 0 0 0 0 0 1 0 0 0 0 },&lt;br /&gt;
   { 0 0 0 0 0 1 0 0 0 0 },&lt;br /&gt;
   { 0 0 0 0 2 2 2 0 0 0 },&lt;br /&gt;
   { 0 0 0 0 1 1 2 0 0 0 },&lt;br /&gt;
   { 0 0 0 0 1 2 1 0 0 0 },&lt;br /&gt;
   { 0 0 0 1 0 0 0 1 0 0 },&lt;br /&gt;
   { 0 0 0 0 0 0 0 0 0 0 },&lt;br /&gt;
   { 0 0 0 0 0 0 0 0 0 0 },&lt;br /&gt;
   { 0 0 0 0 0 0 0 0 0 0 } }, 2&lt;br /&gt;
&lt;br /&gt;
==== Saída ====&lt;br /&gt;
 3&lt;/div&gt;</summary>
		<author><name>189.105.26.34</name></author>	</entry>

	</feed>