<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for be e.nigma</title>
	<atom:link href="http://e.nigma.be/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://e.nigma.be</link>
	<description>random rumble, humble mumble</description>
	<lastBuildDate>Tue, 15 Feb 2011 16:52:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>Comment on GCJ 2008 &#8211; Round 1A: Minimum Scalar Product by Toé</title>
		<link>http://e.nigma.be/2008/08/05/gcj-2008-round-1a-minimum-scalar-product/comment-page-1/#comment-74</link>
		<dc:creator>Toé</dc:creator>
		<pubDate>Tue, 15 Feb 2011 16:52:07 +0000</pubDate>
		<guid isPermaLink="false">http://e.nigma.be/?p=24#comment-74</guid>
		<description>Thank you. I convert to int before sorting and it works.</description>
		<content:encoded><![CDATA[<p>Thank you. I convert to int before sorting and it works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on GCJ 2008 &#8211; Round 1A: Minimum Scalar Product by Andrea</title>
		<link>http://e.nigma.be/2008/08/05/gcj-2008-round-1a-minimum-scalar-product/comment-page-1/#comment-73</link>
		<dc:creator>Andrea</dc:creator>
		<pubDate>Tue, 15 Feb 2011 16:16:26 +0000</pubDate>
		<guid isPermaLink="false">http://e.nigma.be/?p=24#comment-73</guid>
		<description>Try to convert to int before sorting, so far it seems correct to me. Are you sure you&#039;re not messin up with the output? There are some strict rules about that.</description>
		<content:encoded><![CDATA[<p>Try to convert to int before sorting, so far it seems correct to me. Are you sure you&#8217;re not messin up with the output? There are some strict rules about that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on GCJ 2008 &#8211; Round 1A: Minimum Scalar Product by Toé</title>
		<link>http://e.nigma.be/2008/08/05/gcj-2008-round-1a-minimum-scalar-product/comment-page-1/#comment-72</link>
		<dc:creator>Toé</dc:creator>
		<pubDate>Tue, 15 Feb 2011 01:50:42 +0000</pubDate>
		<guid isPermaLink="false">http://e.nigma.be/?p=24#comment-72</guid>
		<description>Here is a part of my code:
&lt;pre lang=&quot;python&quot;&gt;
v1.sort()
v2.sort(reverse=True)
scalar = 0
j = 0
while j &lt; n:
     scalar += int(v1[j]) * int(v2[j])
      j += 1
&lt;/pre&gt;

I think it&#039;s just but when I submit the output file, they say it&#039;s incorrect</description>
		<content:encoded><![CDATA[<p>Here is a part of my code:</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;">v1.<span style="color: black;">sort</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
v2.<span style="color: black;">sort</span><span style="color: black;">&#40;</span>reverse=<span style="color: #008000;">True</span><span style="color: black;">&#41;</span>
scalar = <span style="color: #ff4500;">0</span>
j = <span style="color: #ff4500;">0</span>
<span style="color: #ff7700;font-weight:bold;">while</span> j <span style="color: #66cc66;">&lt;</span> n:
     scalar += <span style="color: #008000;">int</span><span style="color: black;">&#40;</span>v1<span style="color: black;">&#91;</span>j<span style="color: black;">&#93;</span><span style="color: black;">&#41;</span> <span style="color: #66cc66;">*</span> <span style="color: #008000;">int</span><span style="color: black;">&#40;</span>v2<span style="color: black;">&#91;</span>j<span style="color: black;">&#93;</span><span style="color: black;">&#41;</span>
      j += <span style="color: #ff4500;">1</span></pre></div></div>

<p>I think it&#8217;s just but when I submit the output file, they say it&#8217;s incorrect</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on GCJ 2008: Fly Swatter by GCJ 2008: Fly Swatter</title>
		<link>http://e.nigma.be/2008/07/19/gcj-2008-fly-swatter/comment-page-1/#comment-43</link>
		<dc:creator>GCJ 2008: Fly Swatter</dc:creator>
		<pubDate>Sat, 11 Dec 2010 13:41:35 +0000</pubDate>
		<guid isPermaLink="false">http://e.nigma.be/?p=15#comment-43</guid>
		<description>[...] racquets (or rackets if you prefer)&#8230; well&#8230; actually it&#8217;s about probability :^D...  [full post]    Andrea     nigma   codinggcj 2008gcjgoogle code jam            0        0        0        0      [...]</description>
		<content:encoded><![CDATA[<p>[...] racquets (or rackets if you prefer)&#8230; well&#8230; actually it&#8217;s about probability :^D&#8230;  [full post]    Andrea     nigma   codinggcj 2008gcjgoogle code jam            0        0        0        0      [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A geeky toy, for a geeky boy. by A geeky toy, for a geeky boy.</title>
		<link>http://e.nigma.be/2009/03/03/a-geeky-toy-for-a-geeky-boy/comment-page-1/#comment-42</link>
		<dc:creator>A geeky toy, for a geeky boy.</dc:creator>
		<pubDate>Sat, 11 Dec 2010 13:41:18 +0000</pubDate>
		<guid isPermaLink="false">http://e.nigma.be/?p=29#comment-42</guid>
		<description>[...] don&#8217;t know it then you should at least google for it. Wikipedia will work as well. I...  [full post]    Andrea     nigma   codinguncategorizedfunui            0        0        0        0        0     [...]</description>
		<content:encoded><![CDATA[<p>[...] don&#8217;t know it then you should at least google for it. Wikipedia will work as well. I&#8230;  [full post]    Andrea     nigma   codinguncategorizedfunui            0        0        0        0        0     [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About by Pascal</title>
		<link>http://e.nigma.be/about-2/comment-page-1/#comment-3</link>
		<dc:creator>Pascal</dc:creator>
		<pubDate>Thu, 20 Nov 2008 01:28:02 +0000</pubDate>
		<guid isPermaLink="false">http://e.nigma.be/?page_id=2#comment-3</guid>
		<description>GEEKCODE is deprecated! :P

tvb!</description>
		<content:encoded><![CDATA[<p>GEEKCODE is deprecated! <img src='http://e.nigma.be/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>tvb!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on GCJ 2008: Fly Swatter by e.nigma</title>
		<link>http://e.nigma.be/2008/07/19/gcj-2008-fly-swatter/comment-page-1/#comment-18</link>
		<dc:creator>e.nigma</dc:creator>
		<pubDate>Mon, 21 Jul 2008 00:35:44 +0000</pubDate>
		<guid isPermaLink="false">http://e.nigma.be/?p=15#comment-18</guid>
		<description>Maybe this:
&lt;img src=&quot;http://e.nigma.be/wp-content/uploads/2008/07/hitting_ball.png&quot; style=&quot;border:0px&quot;&gt;http://e.nigma.be/wp-content/uploads/2008/07/hitting_ball.png&lt;/img&gt;

was not so clear. I putted black on all except for one ball, do you see the one on the bottom? If the gap was complete the ball could pass through it, but its center it&#039;s out of the small area and so it&#039;s hitting the border, that seems to be the event have to be verified at the same time, and (in math, not in the real world) one event can be verified without the other, am I wrong?</description>
		<content:encoded><![CDATA[<p>Maybe this:<br />
<img src="http://e.nigma.be/wp-content/uploads/2008/07/hitting_ball.png" style="border:0px"/><a href="http://e.nigma.be/wp-content/uploads/2008/07/hitting_ball.png" rel="nofollow">http://e.nigma.be/wp-content/uploads/2008/07/hitting_ball.png</a></p>
<p>was not so clear. I putted black on all except for one ball, do you see the one on the bottom? If the gap was complete the ball could pass through it, but its center it&#8217;s out of the small area and so it&#8217;s hitting the border, that seems to be the event have to be verified at the same time, and (in math, not in the real world) one event can be verified without the other, am I wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on GCJ 2008: Fly Swatter by Clive</title>
		<link>http://e.nigma.be/2008/07/19/gcj-2008-fly-swatter/comment-page-1/#comment-17</link>
		<dc:creator>Clive</dc:creator>
		<pubDate>Sun, 20 Jul 2008 23:28:56 +0000</pubDate>
		<guid isPermaLink="false">http://e.nigma.be/?p=15#comment-17</guid>
		<description>You appear to be trying to treat the two cases of the fly going through the &quot;big&quot; circular hole (inside of the inner rim of the racquet), and that of it going through a square hole between strings (where these strings and gaps between them are considered to be extending over the full area of the whole racquet) as two independent events. But that is totally wrong! If the fly hits the rim of the racquet it cannot ever go through the hole between strings that might be lying &quot;behind&quot; that point.

Imagine a simpler case where there are two &quot;filters&quot; that can catch the fly. Say each is set up in a way that the fly (hitting the filter randomly) has a 50% probability of being hit. You are (I think) saying you can always just multiply those probabilities to get the correct value for the combined set of filters. But those filters might (when overlapped) produce zero chance of the fly getting through.

For example, say you have two sets filters consisting of vertical strings (only vertical string all with infinitesimal thickness (r~=0), suspended in an outer square frame also with infinitesimal thickness (t~=0) to keep things simple) with a gap of 4f between them. Now each such set of strings alone gives a 50% chance for the flying getting through. Your approach would trying to multipl0 0.5 by 0.5 and get 0.25 for it getting through both. However if the two sets of strings are positioned exactly on top of each other the probability is still 50%, and if they are offset horizontally by 2f then the fly cannot ever get through!

To get the correct answer, you have to treat the different cases separately!</description>
		<content:encoded><![CDATA[<p>You appear to be trying to treat the two cases of the fly going through the &#8220;big&#8221; circular hole (inside of the inner rim of the racquet), and that of it going through a square hole between strings (where these strings and gaps between them are considered to be extending over the full area of the whole racquet) as two independent events. But that is totally wrong! If the fly hits the rim of the racquet it cannot ever go through the hole between strings that might be lying &#8220;behind&#8221; that point.</p>
<p>Imagine a simpler case where there are two &#8220;filters&#8221; that can catch the fly. Say each is set up in a way that the fly (hitting the filter randomly) has a 50% probability of being hit. You are (I think) saying you can always just multiply those probabilities to get the correct value for the combined set of filters. But those filters might (when overlapped) produce zero chance of the fly getting through.</p>
<p>For example, say you have two sets filters consisting of vertical strings (only vertical string all with infinitesimal thickness (r~=0), suspended in an outer square frame also with infinitesimal thickness (t~=0) to keep things simple) with a gap of 4f between them. Now each such set of strings alone gives a 50% chance for the flying getting through. Your approach would trying to multipl0 0.5 by 0.5 and get 0.25 for it getting through both. However if the two sets of strings are positioned exactly on top of each other the probability is still 50%, and if they are offset horizontally by 2f then the fly cannot ever get through!</p>
<p>To get the correct answer, you have to treat the different cases separately!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on GCJ 2008: Fly Swatter by e.nigma</title>
		<link>http://e.nigma.be/2008/07/19/gcj-2008-fly-swatter/comment-page-1/#comment-16</link>
		<dc:creator>e.nigma</dc:creator>
		<pubDate>Sun, 20 Jul 2008 15:05:42 +0000</pubDate>
		<guid isPermaLink="false">http://e.nigma.be/?p=15#comment-16</guid>
		<description>&gt;Event gap occurrs many times inside the racket. In your formula
&gt;you don’t take care about that
&gt;

Uhm... Im sure that a ball falling in the small area will fall into a square, ok?  that&#039;s a sure event.

I called the probability to fall in a gap area of ONE square q2 = gap/small...

if there are 3.215 squares in the small area well... as there is one gap for each square there will be 3.215 gap in the small area...

if you do 3.215 * gap/ small you&#039;re take care about it... but the result (as I&#039;ve shown) is the same... am I right? am I missing your point?</description>
		<content:encoded><![CDATA[<p>>Event gap occurrs many times inside the racket. In your formula<br />
>you don’t take care about that<br />
></p>
<p>Uhm&#8230; Im sure that a ball falling in the small area will fall into a square, ok?  that&#8217;s a sure event.</p>
<p>I called the probability to fall in a gap area of ONE square q2 = gap/small&#8230;</p>
<p>if there are 3.215 squares in the small area well&#8230; as there is one gap for each square there will be 3.215 gap in the small area&#8230;</p>
<p>if you do 3.215 * gap/ small you&#8217;re take care about it&#8230; but the result (as I&#8217;ve shown) is the same&#8230; am I right? am I missing your point?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on GCJ 2008: Fly Swatter by Authentic</title>
		<link>http://e.nigma.be/2008/07/19/gcj-2008-fly-swatter/comment-page-1/#comment-15</link>
		<dc:creator>Authentic</dc:creator>
		<pubDate>Sun, 20 Jul 2008 13:31:48 +0000</pubDate>
		<guid isPermaLink="false">http://e.nigma.be/?p=15#comment-15</guid>
		<description>&gt;&gt; Also, you don’t consider times of event “small” it ocurrs.

&gt;I don’t understand what does it mean (maybe is my english fault), &gt;can you try to explain me what do you mean with that?

Event gap occurrs many times inside the racket. In your formula you don&#039;t take care about that.</description>
		<content:encoded><![CDATA[<p>&gt;&gt; Also, you don’t consider times of event “small” it ocurrs.</p>
<p>&gt;I don’t understand what does it mean (maybe is my english fault), &gt;can you try to explain me what do you mean with that?</p>
<p>Event gap occurrs many times inside the racket. In your formula you don&#8217;t take care about that.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

