<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Mines-problem! Please help!' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Mines-problem! Please help!' posted on the 'Pascal' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Wed, 19 Jun 2013 10:58:47 -0700</pubDate>
    <lastBuildDate>Wed, 19 Jun 2013 10:58:47 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Mines-problem! Please help!</title>
      <link>http://www.programmersheaven.com/mb/pasprog/428633/428633/mines-problem-please-help/</link>
      <description>Hi! I need help about this task:&lt;br /&gt;
Before entering the minefield, you are given a matrix 'b' filled with integers where every b[i,j] of them stands for a number of mines around (not includig) the a[i,j] part of the minefield.&lt;br /&gt;
The matrix' are NxN where N is a given integer N&amp;gt;=5.&lt;br /&gt;
The task is to write matrix 'a' that represents the minefield (if there is a mine then '*' else 's') so you could cross the minefield safely.&lt;br /&gt;
&lt;br /&gt;
example&lt;br /&gt;
Input:&lt;br /&gt;
5&lt;br /&gt;
2 3 4 3 1&lt;br /&gt;
3 4 5 4 3&lt;br /&gt;
1 3 5 4 3&lt;br /&gt;
1 1 2 2 3&lt;br /&gt;
0 0 1 1 1&lt;br /&gt;
&lt;br /&gt;
Output:&lt;br /&gt;
s * * s s   &lt;br /&gt;
s * * * s&lt;br /&gt;
* s s * *&lt;br /&gt;
s s s * s &lt;br /&gt;
         &lt;br /&gt;
I've been trying to solve it for days but I can't!&lt;br /&gt;
Please help!&lt;br /&gt;
Please use only pascal.&lt;br /&gt;
Thanks!!!</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/428633/428633/mines-problem-please-help/</guid>
      <pubDate>Wed, 30 May 2012 15:19:08 -0700</pubDate>
      <category>Pascal</category>
    </item>
  </channel>
</rss>