<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Google Treasure Hunt - Question 2 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28775#M5344</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These are valid.&amp;nbsp; Look into route summarization.&amp;nbsp; It is the combination of IP Address and subnet mask.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;117.153.4.0/24 is the ip address 117.153.4.0 with the subnet mask 255.255.255.0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Oct 2011 14:19:59 GMT</pubDate>
    <dc:creator>FriedEgg</dc:creator>
    <dc:date>2011-10-13T14:19:59Z</dc:date>
    <item>
      <title>Google Treasure Hunt - Question 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28772#M5341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a new challenge from the google treasure hunt 2008.&amp;nbsp; &lt;A href="http://treasurehunt.appspot.com/"&gt;http://treasurehunt.appspot.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the first question rather entertaining if not a little troublesome. &lt;A _jive_internal="true" href="https://communities.sas.com/thread/31422?tstart=0"&gt;http://communities.sas.com/thread/31422?tstart=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2 style="padding-bottom: 1em; font-size: 1.3em;"&gt;Question&lt;/H2&gt;&lt;P style="padding-bottom: 1em;"&gt;Below is a diagram of a computer network. The nodes are hosts on the network, and the lines between them are links. A packet is sent out from host &lt;STRONG&gt;O&lt;/STRONG&gt; with a destination of &lt;STRONG&gt;117.153.4.238&lt;/STRONG&gt;. Which nodes does the packet pass through on its way to the destination? (include start and final node in your answer)&lt;/P&gt;&lt;P style="padding-bottom: 1em;"&gt;&lt;IMG alt="Network" height="210" src="http://treasurehunt.appspot.com/images/network.png" style="border-style: initial; border-color: initial;" width="400" /&gt;&lt;/P&gt;&lt;P&gt;Here is a network routing table you'll need to determine the path taken:&lt;/P&gt;&lt;TABLE border="1" style="border-color: initial; empty-cells: show; width: 100%; border-width: 1px; border-style: solid;"&gt;&lt;TBODY&gt;&lt;TR style="border-style: initial; border-color: black; border-width: 1px;"&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;Node&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;Ip address&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: initial; border-color: initial;"&gt;Routing table entry&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: initial; border-color: initial;"&gt;Routing table entry&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: initial; border-color: initial;"&gt;Routing table entry&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;Default route&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: black; border-width: 1px;"&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;A&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;224.216.69.120&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;134.24.6.169 =&amp;gt; 134.24.6.169&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;22.230.113.114 =&amp;gt; 89.88.225.242&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;7.86.78.0/24 =&amp;gt; 22.230.113.114&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;190.64.129.17&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: black; border-width: 1px;"&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;B&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;89.88.225.242&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;89.88.225.242 =&amp;gt; 5.153.148.97&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;190.64.129.17 =&amp;gt; 224.216.69.120&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;85.113.64.0/24 =&amp;gt; 22.230.113.114&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;134.24.6.169&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: black; border-width: 1px;"&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;C&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;5.153.148.97&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;190.64.129.17 =&amp;gt; 89.86.234.208&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;116.134.182.91 =&amp;gt; 190.64.129.17&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;84.104.233.0/24 =&amp;gt; 117.153.4.238&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;89.88.225.242&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: black; border-width: 1px;"&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;D&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;89.86.234.208&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;85.250.166.178 =&amp;gt; 116.134.182.91&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;89.88.225.242 =&amp;gt; 84.104.233.40&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;117.153.4.0/24 =&amp;gt; 45.87.155.12&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;85.113.64.65&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: black; border-width: 1px;"&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;E&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;84.104.233.40&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;7.86.78.45 =&amp;gt; 7.86.78.45&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;116.134.182.91 =&amp;gt; 85.250.166.178&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;134.24.6.0/24 =&amp;gt; 89.86.234.208&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;9.140.95.24&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: black; border-width: 1px;"&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;F&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;85.250.166.178&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;9.140.95.24 =&amp;gt; 9.140.95.24&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;117.153.4.238 =&amp;gt; 7.86.78.45&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;134.24.6.0/24 =&amp;gt; 84.104.233.40&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;45.87.155.12&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: black; border-width: 1px;"&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;G&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;45.87.155.12&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;89.88.225.242 =&amp;gt; 116.134.182.91&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;117.153.4.238 =&amp;gt; 85.250.166.178&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;116.134.182.0/24 =&amp;gt; 117.153.4.238&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;89.86.234.208&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: black; border-width: 1px;"&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;H&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;116.134.182.91&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;117.153.4.238 =&amp;gt; 7.86.78.45&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;89.86.234.208 =&amp;gt; 45.87.155.12&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;244.102.114.0/24 =&amp;gt; 117.153.4.238&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;89.86.234.208&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: black; border-width: 1px;"&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;I&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;7.86.78.45&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;117.153.4.238 =&amp;gt; 9.140.95.24&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;190.64.129.17 =&amp;gt; 84.104.233.40&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;224.216.69.0/24 =&amp;gt; 85.250.166.178&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;116.134.182.91&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: black; border-width: 1px;"&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;J&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;9.140.95.24&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;134.24.6.169 =&amp;gt; 85.250.166.178&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;22.230.113.114 =&amp;gt; 7.86.78.45&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;117.153.4.0/24 =&amp;gt; 117.153.4.238&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;84.104.233.40&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: black; border-width: 1px;"&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;K&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;117.153.4.238&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;190.64.129.17 =&amp;gt; 5.153.148.97&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;22.230.113.114 =&amp;gt; 89.86.234.208&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;117.153.4.0/24 =&amp;gt; 85.113.64.65&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;45.87.155.12&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: black; border-width: 1px;"&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;L&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;85.113.64.65&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;84.104.233.40 =&amp;gt; 134.24.6.169&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;134.24.6.169 =&amp;gt; 5.153.148.97&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;89.88.225.0/24 =&amp;gt; 117.153.4.238&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;89.86.234.208&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: black; border-width: 1px;"&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;M&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;134.24.6.169&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;22.230.113.114 =&amp;gt; 89.88.225.242&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;244.102.114.233 =&amp;gt; 224.216.69.120&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;116.134.182.0/24 =&amp;gt; 22.230.113.114&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;85.113.64.65&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: black; border-width: 1px;"&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;N&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;22.230.113.114&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;84.104.233.40 =&amp;gt; 134.24.6.169&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;244.102.114.233 =&amp;gt; 224.216.69.120&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;85.113.64.0/24 =&amp;gt; 244.102.114.233&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;89.88.225.242&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: black; border-width: 1px;"&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;O&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;244.102.114.233&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;224.216.69.120 =&amp;gt; 5.153.148.97&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;84.104.233.40 =&amp;gt; 85.113.64.65&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;117.153.4.0/24 =&amp;gt; 22.230.113.114&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;190.64.129.17&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: black; border-width: 1px;"&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;P&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;190.64.129.17&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;9.140.95.24 =&amp;gt; 244.102.114.233&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;22.230.113.114 =&amp;gt; 224.216.69.120&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;117.153.4.0/24 =&amp;gt; 5.153.148.97&lt;/TD&gt;&lt;TD style="padding-right: 10px; border-style: solid; border-color: black; border-width: 1px;"&gt;85.113.64.65&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-bottom: 1em;"&gt;Enter the nodes the packet passes through below&lt;BR /&gt;&lt;EM&gt;(Note: Answer must start with O, end with the destination node name, and contain only node names.)&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10925iF7033AB7DCC88879/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="network.png" title="network.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 23:07:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28772#M5341</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-10-12T23:07:49Z</dc:date>
    </item>
    <item>
      <title>Google Treasure Hunt - Question 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28773#M5342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like our gateway not allow me to visit &lt;A class="jive-link-external-small" href="http://treasurehunt.appspot.com/"&gt;http://treasurehunt.appspot.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you post the picture.&lt;/P&gt;&lt;P style="padding-bottom: 1em;"&gt;&lt;A href="http://treasurehunt.appspot.com/images/network.png"&gt;&lt;IMG alt="Network" height="210" src="http://treasurehunt.appspot.com/images/network.png" style="border-style: initial; border-color: initial;" width="400" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 06:38:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28773#M5342</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-10-13T06:38:37Z</dc:date>
    </item>
    <item>
      <title>Google Treasure Hunt - Question 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28774#M5343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is a problem.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;117.153.4.0/24&lt;/STRONG&gt; =&amp;gt; 5.153.148.97&lt;/P&gt;&lt;P&gt; it is not correct ip address.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 08:16:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28774#M5343</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-10-13T08:16:46Z</dc:date>
    </item>
    <item>
      <title>Google Treasure Hunt - Question 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28775#M5344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These are valid.&amp;nbsp; Look into route summarization.&amp;nbsp; It is the combination of IP Address and subnet mask.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;117.153.4.0/24 is the ip address 117.153.4.0 with the subnet mask 255.255.255.0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 14:19:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28775#M5344</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-10-13T14:19:59Z</dc:date>
    </item>
    <item>
      <title>Google Treasure Hunt - Question 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28776#M5345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a fairly simple logic puzzle.&amp;nbsp; You can easily solve by hand, once you understand the /24 piece.&amp;nbsp; Basically is similar to saying 117.153.4.* (where star is a catch all from 0-255)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;O =&amp;gt; 117.153.4.238(j)&lt;/P&gt;&lt;P&gt;============================================================================================================================================================&lt;/P&gt;&lt;TABLE border="1" style="border-style: solid; border-color: initial; font-size: 13px; margin-top: 1px; margin-bottom: 1px; width: 585px; empty-cells: show; border-width: 1px; padding: 3px;"&gt;&lt;TBODY style="font-size: 13px;"&gt;&lt;TR style="border-style: initial; border-color: inherit; border-collapse: collapse; font-size: 13px; border: inherit; border-width: inherit;"&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;O&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;244.102.114.233&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;224.216.69.120 =&amp;gt; 5.153.148.97&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;84.104.233.40 =&amp;gt; 85.113.64.65&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;117.153.4.0/24 =&amp;gt; 22.230.113.114&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;190.64.129.17&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: inherit; border-collapse: collapse; font-size: 13px; border: inherit; border-width: inherit;"&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o-22.230.113.114(n)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" style="border-style: solid; border-color: initial; font-size: 13px; margin-top: 1px; margin-bottom: 1px; width: 585px; empty-cells: show; border-width: 1px; padding: 3px;"&gt;&lt;TBODY style="font-size: 13px;"&gt;&lt;TR style="border-style: initial; border-color: inherit; border-collapse: collapse; font-size: 13px; border: inherit; border-width: inherit;"&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;N&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;22.230.113.114&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;84.104.233.40 =&amp;gt; 134.24.6.169&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;244.102.114.233 =&amp;gt; 224.216.69.120&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;85.113.64.0/24 =&amp;gt; 244.102.114.233&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;89.88.225.242&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;n-89.88.225.242(b)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" style="border-style: solid; border-color: initial; font-size: 13px; margin-top: 1px; margin-bottom: 1px; width: 585px; empty-cells: show; border-width: 1px; padding: 3px;"&gt;&lt;TBODY style="font-size: 13px;"&gt;&lt;TR style="border-style: initial; border-color: inherit; border-collapse: collapse; font-size: 13px; border: inherit; border-width: inherit;"&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;B&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;89.88.225.242&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;89.88.225.242 =&amp;gt; 5.153.148.97&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;190.64.129.17 =&amp;gt; 224.216.69.120&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;85.113.64.0/24 =&amp;gt; 22.230.113.114&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;134.24.6.169&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b-134.24.6.169(m)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" style="border-style: solid; border-color: initial; font-size: 13px; margin-top: 1px; margin-bottom: 1px; width: 585px; empty-cells: show; border-width: 1px; padding: 3px;"&gt;&lt;TBODY style="font-size: 13px;"&gt;&lt;TR style="border-style: initial; border-color: inherit; border-collapse: collapse; font-size: 13px; border: inherit; border-width: inherit;"&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;M&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;134.24.6.169&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;22.230.113.114 =&amp;gt; 89.88.225.242&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;244.102.114.233 =&amp;gt; 224.216.69.120&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;116.134.182.0/24 =&amp;gt; 22.230.113.114&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;85.113.64.65&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: inherit; border-collapse: collapse; font-size: 13px; border: inherit; border-width: inherit;"&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;m-85.113.64.65(l)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" style="border-style: solid; border-color: initial; font-size: 13px; margin-top: 1px; margin-bottom: 1px; width: 585px; empty-cells: show; border-width: 1px; padding: 3px;"&gt;&lt;TBODY style="font-size: 13px;"&gt;&lt;TR style="border-style: initial; border-color: inherit; border-collapse: collapse; font-size: 13px; border: inherit; border-width: inherit;"&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;L&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;85.113.64.65&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;84.104.233.40 =&amp;gt; 134.24.6.169&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;134.24.6.169 =&amp;gt; 5.153.148.97&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;89.88.225.0/24 =&amp;gt; 117.153.4.238&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;89.86.234.208&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: inherit; border-collapse: collapse; font-size: 13px; border: inherit; border-width: inherit;"&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l-89.86.234.208(d)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" style="border-style: solid; border-color: initial; font-size: 13px; margin-top: 1px; margin-bottom: 1px; width: 585px; empty-cells: show; border-width: 1px; padding: 3px;"&gt;&lt;TBODY style="font-size: 13px;"&gt;&lt;TR style="border-style: initial; border-color: inherit; border-collapse: collapse; font-size: 13px; border: inherit; border-width: inherit;"&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;D&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;89.86.234.208&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;85.250.166.178 =&amp;gt; 116.134.182.91&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;89.88.225.242 =&amp;gt; 84.104.233.40&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;117.153.4.0/24 =&amp;gt; 45.87.155.12&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;85.113.64.65&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d-45.87.155.12(g)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" style="border-style: solid; border-color: initial; font-size: 13px; margin-top: 1px; margin-bottom: 1px; width: 585px; empty-cells: show; border-width: 1px; padding: 3px;"&gt;&lt;TBODY style="font-size: 13px;"&gt;&lt;TR style="border-style: initial; border-color: inherit; border-collapse: collapse; font-size: 13px; border: inherit; border-width: inherit;"&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;G&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;45.87.155.12&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;89.88.225.242 =&amp;gt; 116.134.182.91&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;117.153.4.238 =&amp;gt; 85.250.166.178&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;116.134.182.0/24 =&amp;gt; 117.153.4.238&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;89.86.234.208&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: inherit; border-collapse: collapse; font-size: 13px; border: inherit; border-width: inherit;"&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g-85.250.166.178(f)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" style="border-style: solid; border-color: initial; font-size: 13px; margin-top: 1px; margin-bottom: 1px; width: 585px; empty-cells: show; border-width: 1px; padding: 3px;"&gt;&lt;TBODY style="font-size: 13px;"&gt;&lt;TR style="border-style: initial; border-color: inherit; border-collapse: collapse; font-size: 13px; border: inherit; border-width: inherit;"&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;F&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;85.250.166.178&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;9.140.95.24 =&amp;gt; 9.140.95.24&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;117.153.4.238 =&amp;gt; 7.86.78.45&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;134.24.6.0/24 =&amp;gt; 84.104.233.40&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;45.87.155.12&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-style: initial; border-color: inherit; border-collapse: collapse; font-size: 13px; border: inherit; border-width: inherit;"&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f-7.86.78.45(i)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" style="border-style: solid; border-color: initial; font-size: 13px; margin-top: 1px; margin-bottom: 1px; width: 585px; empty-cells: show; border-width: 1px; padding: 3px;"&gt;&lt;TBODY style="font-size: 13px;"&gt;&lt;TR style="border-style: initial; border-color: inherit; border-collapse: collapse; font-size: 13px; border: inherit; border-width: inherit;"&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;I&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;7.86.78.45&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;117.153.4.238 =&amp;gt; 9.140.95.24&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;190.64.129.17 =&amp;gt; 84.104.233.40&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;224.216.69.0/24 =&amp;gt; 85.250.166.178&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;116.134.182.91&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i-9.140.95.24(j)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" style="border-style: solid; border-color: initial; font-size: 13px; margin-top: 1px; margin-bottom: 1px; width: 585px; empty-cells: show; border-width: 1px; padding: 3px;"&gt;&lt;TBODY style="font-size: 13px;"&gt;&lt;TR style="border-style: initial; border-color: inherit; border-collapse: collapse; font-size: 13px; border: inherit; border-width: inherit;"&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;J&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;9.140.95.24&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;134.24.6.169 =&amp;gt; 85.250.166.178&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;22.230.113.114 =&amp;gt; 7.86.78.45&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;117.153.4.0/24 =&amp;gt; 117.153.4.238&lt;/TD&gt;&lt;TD style="border-color: initial; border: inherit; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; padding-left: 3px; margin: 1px;"&gt;84.104.233.40&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;j-117.153.4.238(k)... done!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ONBMLDGFIJK&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 17:05:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28776#M5345</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-10-13T17:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Google Treasure Hunt - Question 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28777#M5346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;%let start=O;&lt;/P&gt;&lt;P&gt;%let destination=117.153.4.238;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data route_map;&lt;/P&gt;&lt;P&gt; infile '/nas/sasbox/users/mkastin/gth2008.txt' dsd dlm='~' truncover;&lt;/P&gt;&lt;P&gt; input @;&lt;/P&gt;&lt;P&gt;&amp;nbsp; _infile_=prxchange('s/&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | =&amp;gt; /~/',-1,_infile_);&lt;/P&gt;&lt;P&gt; input @1 n :$1 (ip dest1 goto1 dest2 goto2 dest3 goto3 goto4) (:$40.);&lt;/P&gt;&lt;P&gt;&amp;nbsp; if ip="&amp;amp;destination" then call symput('dest',n);&lt;/P&gt;&lt;P&gt;&amp;nbsp; call symput(n,put(_n_,best.));&lt;/P&gt;&lt;P&gt;&amp;nbsp; call symput('ip' || compress(strip(ip),'.'),put(_n_,best.));&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt; length route $40;&lt;/P&gt;&lt;P&gt; retain route ' ';&lt;/P&gt;&lt;P&gt; obsnum=symget("&amp;amp;start")*1;&lt;/P&gt;&lt;P&gt; do until(obsnum=symget('ip' || compress(strip("&amp;amp;destination"),'.')));&lt;/P&gt;&lt;P&gt;&amp;nbsp; set route_map point=obsnum;&lt;/P&gt;&lt;P&gt;&amp;nbsp; route=cats(of route n);&lt;/P&gt;&lt;P&gt;&amp;nbsp; array dest[3]; array goto[4]; &lt;/P&gt;&lt;P&gt;&amp;nbsp; j=0; i=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; do until(j&amp;gt;0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if i&amp;gt;3 then j=4;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; else if dest&lt;I&gt;="&amp;amp;destination" then j=i;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; else if index(dest&lt;I&gt;,'/') then&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if prxmatch('/' || strip(substr(prxchange('s/\./\\./',3,dest&lt;I&gt;),1,length(strip(dest&lt;I&gt;))-4)) || '/',"&amp;amp;destination") then j=i;&lt;/I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; i+1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&amp;nbsp; obsnum=symget('ip' || compress(strip(goto&lt;J&gt;),'.'));&lt;/J&gt;&lt;/P&gt;&lt;P&gt; end;&lt;/P&gt;&lt;P&gt; route=cats(route,"&amp;amp;dest");&lt;/P&gt;&lt;P&gt; put 'SOLUTION FOUND: ' route;&lt;/P&gt;&lt;P&gt; stop;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;SOLUTION FOUND: ONBMLDGFIJK&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 19:38:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28777#M5346</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-10-13T19:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Google Treasure Hunt - Question 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28778#M5347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. I have another varying version of this treasure.&lt;/P&gt;&lt;P&gt;The following is a map which illustrate from which note to which note.&lt;/P&gt;&lt;P&gt;E.X For&amp;nbsp; obs 2 is A =&amp;gt; F.&lt;/P&gt;&lt;P&gt;I want find all the path of O =&amp;gt; K.&lt;/P&gt;&lt;P&gt;not only the shortest path.&lt;/P&gt;&lt;P&gt;I give the path I find and the code.&lt;/P&gt;&lt;P&gt;How can you get that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;_start&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_end
A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;C
A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;F
B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;C
B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;E
B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;H
B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;K
D&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;G
E&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;K
E&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;L
E&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;M
F&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;H
H&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;F
H&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;K
H&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;N
H&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;P
I&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I
I&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;N
J&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;J
J&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;O
K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;C
K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;F
K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;G
K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I
K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;J
K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;K
K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;L
K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;N
L&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;N
L&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;O
M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;C
M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;D
M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;E
M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;F
M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;M
N&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;A
N&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;B
N&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;D
N&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I
O&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;A
O&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;K
P&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;A
P&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;C
P&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;D
P&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;E






ALL PATH:

OAFHK
OAFHNBEK
OAFHNBK
OAFHPEK
OAFHPELNBK
OK




data temp;
infile datalines expandtabs;
input _start $ _end $;
flag+1;
datalines;
A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;C
A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;F
B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;C
B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;E
B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;H
B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;K
D&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;G
E&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;K
E&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;L
E&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;M
F&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;H
H&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;F
H&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;K
H&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;N
H&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;P
I&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I
I&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;N
J&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;J
J&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;O
K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;C
K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;F
K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;G
K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I
K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;J
K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;K
K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;L
K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;N
L&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;N
L&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;O
M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;C
M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;D
M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;E
M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;F
M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;M
N&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;A
N&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;B
N&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;D
N&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I
O&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;A
O&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;K
P&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;A
P&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;C
P&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;D
P&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;E
;
run;
proc sort data=temp nodupkey;
 by _start _end;
run;
data want;
 if 0 then set temp;
 declare hash ha(hashexp:10,dataset:'temp');
 declare hiter hi('ha');
&amp;nbsp; ha.definekey('flag');
&amp;nbsp; ha.definedata('_start','_end');
&amp;nbsp; ha.definedone();
length path _path $ 800;
 declare hash pa(ordered:'Y');
 declare hiter h_p('pa');
&amp;nbsp; pa.definekey('count');
&amp;nbsp; pa.definedata('path');
&amp;nbsp; pa.definedone();

set temp(where=(_start='O'));
 count=0;path=_start;pa.add();

do while(h_p.next()=0);
&amp;nbsp;&amp;nbsp; _path=path; found=0;
&amp;nbsp;&amp;nbsp; do while(hi.next()=0);
&amp;nbsp;&amp;nbsp;&amp;nbsp; path=_path;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if substr(left(reverse(path)),1,1) eq strip(_start) and not find(path,strip(_end)) then do;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count+1;path=cats(path,_end);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pa.add();found=1;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;
&amp;nbsp;&amp;nbsp; end;
&amp;nbsp;&amp;nbsp; if not found and find(path,'K') then output;
end;
run;
data path(keep=want_path);
 set want(keep=path);
 want_path=substr(path,1,find(path,'K'));
run;
proc sort data=path nodupkey;
 by want_path;
run;







&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2011 10:30:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28778#M5347</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-10-14T10:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Google Treasure Hunt - Question 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28779#M5348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another way to have fun, with SQL joins...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;data arcs;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;input _start : $1. _end : $1.;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;datalines;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; H&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; K&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;D&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; G&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;E&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; K&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;E&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;E&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; M&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;F&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; H&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;H&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;H&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; K&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;H&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;H&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;I&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;I&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;J&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; J&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;J&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; O&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; G&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; J&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; K&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;K&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;L&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;L&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; O&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; M&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;N&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;N&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;N&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;N&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;O&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;O&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; K&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;P&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;P&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;P&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;P&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;%macro test(arcs,s,e);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;proc sql;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;create table _t0 as select cats(_start, _end) as path length=2 from &amp;amp;arcs where _start = "&amp;amp;s";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;%let tTables=_t0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;%let i=0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;%do %until(&amp;amp;SQLOBS=0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;create table _t%eval(&amp;amp;i+1) as &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;select cats(path,_end) as path length=%eval(&amp;amp;i+3) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;from _t&amp;amp;i inner join arcs &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;on char(path,%eval(&amp;amp;i+2))=_start and findc(path,_end)=0&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;where char(path,%eval(&amp;amp;i+2)) ne "&amp;amp;e";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;%let tTables=&amp;amp;tTables,_t%eval(&amp;amp;i+1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;%let i=%eval(&amp;amp;i+1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;%end;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;quit;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;data want; length path $32; set _t:; if findc(path,"&amp;amp;e")&amp;gt;0; run;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;proc sql; drop table &amp;amp;tTables ; quit;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;%mend;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;%test(arcs,O,K);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;proc print data=want; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 02:05:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28779#M5348</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-03-30T02:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Google Treasure Hunt - Question 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28780#M5349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello PG.&lt;/P&gt;&lt;P&gt;I don't think SQL is a good tool to handle such problem ,especially when you have lots and lots of branches to search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, Did you figure out a solution for searching a Hamilton Path which posted by FriedEgg a couple of days ago ? I am still fighting for it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 05:56:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28780#M5349</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-03-30T05:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Google Treasure Hunt - Question 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28781#M5350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On first try, prove it can be done; on second try, do it properly (simpler, cleaner, named nodes) :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;data arcs;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;input _start : $ _end : $;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;datalines;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; H&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;D&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; G&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;E&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;E&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;E&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; M&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;F&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; H&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;H&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;H&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;H&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;H&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PG&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;I&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;I&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;J&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; J&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;J&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; O&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;KS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;KS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;KS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; G&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;KS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;KS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; J&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;KS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;KS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;KS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;L&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;L&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; O&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; M&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;N&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;N&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;N&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;N&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;O&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;O&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;PG&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;PG&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;PG&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;PG&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;%macro test(arcs,s,e);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;proc sql NOWARNRECURS NOPRINT;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;create table _a as select * from &amp;amp;arcs where _start ne "&amp;amp;e" and _start ne _end;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;create table _t0 as select _start as nodes, _end from _a where _start = "&amp;amp;s";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;%do %until(&amp;amp;endCount=0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;create table _t0 as select catx("^",nodes,_t0._end) as nodes, _a._end &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;from _t0 left join _a on _t0._end=_a._start and findw(nodes,_a._end,"^","T")=0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;select count(_end) into :endCount from _t0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;%end;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;create table want as&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;select tranwrd(nodes,"^"," - ") as path from _t0 where findw(nodes,"&amp;amp;e","^","T") &amp;gt; 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;drop table _a, _t0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;quit;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;%mend;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;%test(arcs,O,KS);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;proc print data=want; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;PG&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Mar 2012 02:44:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28781#M5350</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-03-31T02:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Google Treasure Hunt - Question 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28782#M5351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ksharp, I was tempted to try solving the "Datacenter Cooling" problem. But in thinking about it I concluded that this was an intrinsically difficult problem (this was later confirmed by FriedEgg). If I still had an efficient compiler on my machine I would try it. I would love to try solving that problem with object programming (c++, java, c#). But with SAS? No fun.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Mar 2012 03:03:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Google-Treasure-Hunt-Question-2/m-p/28782#M5351</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-03-31T03:03:36Z</dc:date>
    </item>
  </channel>
</rss>

