<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-4268903649676626374.comments</id><updated>2012-02-02T17:45:58.127+01:00</updated><category term='Prague Seedcamp OpenCoffee'/><category term='certificate'/><category term='Tasks'/><category term='hack passwd'/><category term='SXSWi USA trip'/><title type='text'>Codility</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.codility.com/feeds/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/comments/default'/><link rel='alternate' type='text/html' href='http://blog.codility.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/comments/default?start-index=26&amp;max-results=25'/><author><name>Codility</name><uri>http://www.blogger.com/profile/09066412611252156638</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>53</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-973372447305699097</id><published>2012-02-02T17:45:58.127+01:00</published><updated>2012-02-02T17:45:58.127+01:00</updated><title type='text'>Is this really a 1 silver star difficulty as your ...</title><content type='html'>Is this really a 1 silver star difficulty as your tasks page shows?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/4500024962367595812/comments/default/973372447305699097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/4500024962367595812/comments/default/973372447305699097'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2012/02/xi-2012-codility-programming.html?showComment=1328201158127#c973372447305699097' title=''/><author><name>John</name><uri>http://www.blogger.com/profile/15903631342499506763</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://jplehmann.com/pics/john/babyjohn-crib-small.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2012/02/xi-2012-codility-programming.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-4500024962367595812' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/4500024962367595812' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-60166459'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-9068750539130803025</id><published>2012-01-31T22:05:09.858+01:00</published><updated>2012-01-31T22:05:09.858+01:00</updated><title type='text'>Python 100% score:

def equi ( A ):
&amp;#39;&amp;#39;&amp;#39...</title><content type='html'>Python 100% score:&lt;br /&gt;&lt;br /&gt;def equi ( A ):&lt;br /&gt;&amp;#39;&amp;#39;&amp;#39;&amp;#39;N = len(A)&lt;br /&gt;&amp;#39;&amp;#39;&amp;#39;&amp;#39;total = sum(A)&lt;br /&gt;&amp;#39;&amp;#39;&amp;#39;&amp;#39;lefts = 0&lt;br /&gt;&amp;#39;&amp;#39;&amp;#39;&amp;#39;for p, value in enumerate(A):&lt;br /&gt;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;partial = total - value&lt;br /&gt;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;if partial % 2 == 0 and lefts == (partial / 2) and 0 &amp;lt;= p &amp;lt; N:&lt;br /&gt;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;return p&lt;br /&gt;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;&amp;#39;lefts += value&lt;br /&gt;&amp;#39;&amp;#39;&amp;#39;&amp;#39;return -1</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/6212960564738222625/comments/default/9068750539130803025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/6212960564738222625/comments/default/9068750539130803025'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2011/03/solutions-for-task-equi.html?showComment=1328043909858#c9068750539130803025' title=''/><author><name>calarval</name><uri>http://www.blogger.com/profile/01178087390858567953</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2011/03/solutions-for-task-equi.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-6212960564738222625' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/6212960564738222625' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1410209297'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-1135916177223548882</id><published>2012-01-31T17:26:26.727+01:00</published><updated>2012-01-31T17:26:26.727+01:00</updated><title type='text'>We are not removing any tasks from the pool, becau...</title><content type='html'>We are not removing any tasks from the pool, because this can be really painful for recruiters in the middle of the process. We mark tasks as &amp;quot;wel-known&amp;quot; once we see that its screening ability diminished. We keep adding new tasks (average one task per week). Interestingly, some tasks do not deteriorate even after long time on-line. We track occurrences of solutions to Codility tasks online and it shows that most of solutions on-line are wrong. This is beneficial--cheaters trying to copy solutions are likely to copy the wrong ones.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/4086916987577032405/comments/default/1135916177223548882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/4086916987577032405/comments/default/1135916177223548882'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2012/01/new-programming-challenge.html?showComment=1328027186727#c1135916177223548882' title=''/><link rel='related' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/4086916987577032405/comments/default/3502350585387520275'/><author><name>Grzegorz Jakacki</name><uri>http://www.blogger.com/profile/15783507041154469514</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2012/01/new-programming-challenge.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-4086916987577032405' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/4086916987577032405' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1827927824'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-2313878729656541537</id><published>2012-01-31T12:05:33.717+01:00</published><updated>2012-01-31T12:05:33.717+01:00</updated><title type='text'>Definitely you are right. But changing questions s...</title><content type='html'>Definitely you are right. But changing questions should depend also from the usage of each question. Some are more popular than other.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/4086916987577032405/comments/default/2313878729656541537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/4086916987577032405/comments/default/2313878729656541537'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2012/01/new-programming-challenge.html?showComment=1328007933717#c2313878729656541537' title=''/><author><name>Dominika Sobantka</name><uri>http://www.blogger.com/profile/05129873050960628063</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-e38jQa7zT5I/TwGPZPkp8MI/AAAAAAAAAAU/HSs79paNVrI/s220/34a7c4a.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2012/01/new-programming-challenge.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-4086916987577032405' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/4086916987577032405' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-969080373'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-4076737098760019652</id><published>2012-01-26T12:41:19.212+01:00</published><updated>2012-01-26T12:41:19.212+01:00</updated><title type='text'>What You think ?</title><content type='html'>What You think ?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/4086916987577032405/comments/default/4076737098760019652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/4086916987577032405/comments/default/4076737098760019652'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2012/01/new-programming-challenge.html?showComment=1327578079212#c4076737098760019652' title=''/><author><name>Mario</name><uri>http://www.blogger.com/profile/02254381270702334794</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2012/01/new-programming-challenge.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-4086916987577032405' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/4086916987577032405' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-277335349'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-3502350585387520275</id><published>2012-01-26T12:40:38.449+01:00</published><updated>2012-01-26T12:40:38.449+01:00</updated><title type='text'>I think that tasks should be changed every 1 year ...</title><content type='html'>I think that tasks should be changed every 1 year for example.&lt;br /&gt;&lt;br /&gt;People who solve tasks, exchange information with colleagues, publish the content and solutions of tasks on forums, etc.. Systematic knowledge about the tasks becomes publicly available.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/4086916987577032405/comments/default/3502350585387520275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/4086916987577032405/comments/default/3502350585387520275'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2012/01/new-programming-challenge.html?showComment=1327578038449#c3502350585387520275' title=''/><author><name>Mario</name><uri>http://www.blogger.com/profile/02254381270702334794</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2012/01/new-programming-challenge.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-4086916987577032405' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/4086916987577032405' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-277335349'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-731272247325845407</id><published>2012-01-12T14:36:41.889+01:00</published><updated>2012-01-12T14:36:41.889+01:00</updated><title type='text'>Armchairathelete, OK let&amp;#39;s do the math:

MED w...</title><content type='html'>Armchairathelete, OK let&amp;#39;s do the math:&lt;br /&gt;&lt;br /&gt;MED works for two segments of (almost) equal sizes.&lt;br /&gt;If their sizes differ significantly, MEDIAN truncates the longer segment. &lt;br /&gt;&lt;br /&gt;Let us assume, that x &amp;gt; y.&lt;br /&gt;So, we would like to eliminate c.a. x-y elements from the first segment without changing the median. &lt;br /&gt;x+y is odd, so x-y is also odd.&lt;br /&gt;Moreover total length of the two segments should stay odd. &lt;br /&gt;Therefore we have to eliminate x-y-1 elements from the first segment. &lt;br /&gt;The idea is to eliminate z=(x-y)//2 elements larger and the same amount of elements smaller than the median. &lt;br /&gt;&lt;br /&gt;There are x + y = 2*y + 2*z + 1 elements in the two segments. &lt;br /&gt;So y+z of them are less or equal to the median, and y+z of them are larger or equal to the median. &lt;br /&gt;&lt;br /&gt;If A[p+z] &amp;gt;= B[s], then we are lucky: A[p+z] is the median. There are y+z elements less or equal, namely: A[p..p+z-1] and B[r..s], and y+z elements larger or equal, namely: A[p+z+1..q].&lt;br /&gt;&lt;br /&gt;Similarly, if A[q-z] &amp;lt;= B[r] we are also lucky: A[q-z] is the median. There are y+z elements less or equal, namely: A[p..q-z-1], and y+z elements larger or equal, namely: A[q-z+1..q] and B[r..s].&lt;br /&gt;&lt;br /&gt;Even when it seems, that we are unlucky, we are lucky!&lt;br /&gt;If A[p+z] &amp;lt; B[s] and A[q-z] &amp;gt; B[r], then A[p..p+z-1] are among z+y-1 bottom elements, &lt;br /&gt;and A[q-z+1..q] are among z+y-1 top elements. &lt;br /&gt;Therefore, we can safely truncate the first segment to A[p+z..q-z] not changing the median. &lt;br /&gt;&lt;br /&gt;The case when x &amp;lt; y is symmetrical.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/2316954021450919686/comments/default/731272247325845407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/2316954021450919686/comments/default/731272247325845407'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2012/01/nu-2011-certificate-solution.html?showComment=1326375401889#c731272247325845407' title=''/><author><name>Marcin Kubica</name><uri>http://www.blogger.com/profile/13331237172006120360</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2012/01/nu-2011-certificate-solution.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-2316954021450919686' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/2316954021450919686' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-439560115'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-4636933249748291246</id><published>2012-01-06T06:23:34.170+01:00</published><updated>2012-01-06T06:23:34.170+01:00</updated><title type='text'>I&amp;#39;m not sure I fully understand the simplifica...</title><content type='html'>I&amp;#39;m not sure I fully understand the simplification process in median(), is there a place I can find the math done out step by step?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/2316954021450919686/comments/default/4636933249748291246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/2316954021450919686/comments/default/4636933249748291246'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2012/01/nu-2011-certificate-solution.html?showComment=1325827414170#c4636933249748291246' title=''/><author><name>armchairathelete</name><uri>https://openid.aol.com/opaque/8ab63e12-3826-11e1-8e63-000bcdcb8a73</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2012/01/nu-2011-certificate-solution.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-2316954021450919686' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/2316954021450919686' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-439479091'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-3531558199109784986</id><published>2012-01-05T08:50:23.313+01:00</published><updated>2012-01-05T08:50:23.313+01:00</updated><title type='text'>Nice solution, MED is so nicely done and nice impl...</title><content type='html'>Nice solution, MED is so nicely done and nice implementation of Algo of five.&lt;br /&gt;&lt;br /&gt;i did try with the approach mentioned in first comment, but missed to to carry indices instead passed sub-arrays as argument, causing trouble in bigger test-cases.&lt;br /&gt;&lt;br /&gt;Good to learn from your blogs.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/2316954021450919686/comments/default/3531558199109784986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/2316954021450919686/comments/default/3531558199109784986'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2012/01/nu-2011-certificate-solution.html?showComment=1325749823313#c3531558199109784986' title=''/><author><name>borrowedthoughts</name><uri>http://borrowedthoughts.wordpress.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2012/01/nu-2011-certificate-solution.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-2316954021450919686' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/2316954021450919686' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-544306472'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-4793120057920894454</id><published>2012-01-04T18:48:01.979+01:00</published><updated>2012-01-04T18:48:01.979+01:00</updated><title type='text'>Nice and clear solution as always...

One can solv...</title><content type='html'>Nice and clear solution as always...&lt;br /&gt;&lt;br /&gt;One can solve it using similar approach...&lt;br /&gt;Let&amp;#39;s say we have two sorted arrays A[1...m] and B[1...n] and we have to find median of two of them...(m+n)is odd&lt;br /&gt;Let&amp;#39;s start from rray A, and we pick i-th element we know that A[i] is greater in array A than i-1 elements.&lt;br /&gt;If A[i] is a median of union,  we know that A[i] is greater than (m+n-1)/2 so we immediately know the index in B array , j=(n+m-1)/2-(i-1)&lt;br /&gt;so if A[i] is between B[j] and B[j+1] we found median in first step, if A[i] is higher or lower, we trim A by half and so on unless we find median. If our trimmed array has one element and it is not median, we do the binary search in array B and we find the median there for sure.&lt;br /&gt;It seems easy to code but it is a little bit tricky...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/2316954021450919686/comments/default/4793120057920894454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/2316954021450919686/comments/default/4793120057920894454'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2012/01/nu-2011-certificate-solution.html?showComment=1325699281979#c4793120057920894454' title=''/><author><name>Unknown</name><uri>http://www.blogger.com/profile/14073869336824557023</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2012/01/nu-2011-certificate-solution.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-2316954021450919686' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/2316954021450919686' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-47411082'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-4418914639798225509</id><published>2011-11-09T02:25:54.939+01:00</published><updated>2011-11-09T02:25:54.939+01:00</updated><title type='text'>Let us fix the root of the tree. (In the example i...</title><content type='html'>Let us fix the root of the tree. (In the example it is 1.) The nodes are ordered in the increasing order of their heights. In the example, nodes 2, 3, 5, 6, and 7 are leaves (height 1). Nodes 4 and 8 are leaves&amp;#39; parents (height 2). The height of node 0 is 3, of node 9 is 4, and finally the height of the root 1 is 5. &lt;br /&gt;&lt;br /&gt;I don&amp;#39;t see any analogy between this algorithm and the Dijkstra&amp;#39;s algorithm. Mainly, because in the Dijkstra&amp;#39;s algorithm vertices are processed in the order of increasing distance from the starting vertex. Here, the tree is scanned twice, once in a bottom-up order and once in a top-down order.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/3152909863142018041/comments/default/4418914639798225509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/3152909863142018041/comments/default/4418914639798225509'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2011/11/lambda-2011-certificate-solution.html?showComment=1320801954939#c4418914639798225509' title=''/><author><name>Marcin Kubica</name><uri>http://www.blogger.com/profile/13331237172006120360</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2011/11/lambda-2011-certificate-solution.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-3152909863142018041' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/3152909863142018041' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-439560115'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-1789189337301551068</id><published>2011-11-05T22:04:55.767+01:00</published><updated>2011-11-05T22:04:55.767+01:00</updated><title type='text'>Hi, I understood degree and order calculation but ...</title><content type='html'>Hi, I understood degree and order calculation but didn&amp;#39;t understand ordering concept? Could you please elaborate on ordering? Are you trying to mimic Dijkstra&amp;#39;s algorithm? Thank you very much. This site is really helpful.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/3152909863142018041/comments/default/1789189337301551068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/3152909863142018041/comments/default/1789189337301551068'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2011/11/lambda-2011-certificate-solution.html?showComment=1320527095767#c1789189337301551068' title=''/><author><name>Jignesh Shah</name><uri>http://www.blogger.com/profile/07806288689076998937</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2011/11/lambda-2011-certificate-solution.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-3152909863142018041' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/3152909863142018041' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-937787560'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-9143972778163152979</id><published>2011-11-04T22:19:55.769+01:00</published><updated>2011-11-04T22:19:55.769+01:00</updated><title type='text'></title><content type='html'>This comment has been removed by the author.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/3152909863142018041/comments/default/9143972778163152979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/3152909863142018041/comments/default/9143972778163152979'/><author><name>Alex Enfurny</name><uri>http://www.blogger.com/profile/13812611942138385135</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2011/11/lambda-2011-certificate-solution.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-3152909863142018041' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/3152909863142018041' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.contentRemoved' value='true'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1057237140'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-6695038817629690495</id><published>2011-10-07T22:30:47.062+02:00</published><updated>2011-10-07T22:30:47.062+02:00</updated><title type='text'>By any chance did you compute the combinations inc...</title><content type='html'>By any chance did you compute the combinations incorrectly and then correct them at the end, pajton? This worked for me and absolutely smashed the time limit for big4. Caching didn&amp;#39;t occur to me either...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/7048995147136961838/comments/default/6695038817629690495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/7048995147136961838/comments/default/6695038817629690495'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2011/10/kappa-certificate-solution.html?showComment=1318019447062#c6695038817629690495' title=''/><author><name>Gorah</name><uri>http://gorah.pip.verisignlabs.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2011/10/kappa-certificate-solution.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-7048995147136961838' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/7048995147136961838' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-245618777'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-4790351882295440004</id><published>2011-10-04T22:31:56.623+02:00</published><updated>2011-10-04T22:31:56.623+02:00</updated><title type='text'>I think the caching wasn&amp;#39;t necessary: I wrote ...</title><content type='html'>I think the caching wasn&amp;#39;t necessary: I wrote my solution in python and the times were almost OK. If I used modulo div it would pass all the tests</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/7048995147136961838/comments/default/4790351882295440004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/7048995147136961838/comments/default/4790351882295440004'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2011/10/kappa-certificate-solution.html?showComment=1317760316623#c4790351882295440004' title=''/><author><name>pajton</name><uri>http://www.blogger.com/profile/16126979763326946085</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2011/10/kappa-certificate-solution.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-7048995147136961838' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/7048995147136961838' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-912185325'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-1269458311081104743</id><published>2011-10-04T21:46:50.420+02:00</published><updated>2011-10-04T21:46:50.420+02:00</updated><title type='text'>I tried that, but never thought about caching the ...</title><content type='html'>I tried that, but never thought about caching the factorials. You learn something new everyday, I guess:D.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/7048995147136961838/comments/default/1269458311081104743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/7048995147136961838/comments/default/1269458311081104743'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2011/10/kappa-certificate-solution.html?showComment=1317757610420#c1269458311081104743' title=''/><author><name>Hung</name><uri>http://www.blogger.com/profile/07502991609990919277</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2011/10/kappa-certificate-solution.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-7048995147136961838' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/7048995147136961838' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-565625745'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-2670594452391361534</id><published>2011-10-04T15:49:42.991+02:00</published><updated>2011-10-04T15:49:42.991+02:00</updated><title type='text'>Great! I came close to this, I know I had to use m...</title><content type='html'>Great! I came close to this, I know I had to use modular arithmetic, but didn&amp;#39;t know that division by modulo exists and it&amp;#39;s legal to use here.&lt;br /&gt;&lt;br /&gt;So I only applied it to resulting factorials, which was far to slow:-).</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/7048995147136961838/comments/default/2670594452391361534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/7048995147136961838/comments/default/2670594452391361534'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2011/10/kappa-certificate-solution.html?showComment=1317736182991#c2670594452391361534' title=''/><author><name>pajton</name><uri>http://www.blogger.com/profile/16126979763326946085</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2011/10/kappa-certificate-solution.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-7048995147136961838' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/7048995147136961838' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-912185325'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-5888729875437584291</id><published>2011-09-13T21:13:10.996+02:00</published><updated>2011-09-13T21:13:10.996+02:00</updated><title type='text'>Codility as many other systems is just pointless i...</title><content type='html'>Codility as many other systems is just pointless in my opinion and I would doubt working with a company which rely on using those kind of systems. Programming and code optimization is a process which requires attention which lacks due to the pressure to complete the task. I understand that using those systems help companies in speeding up the selections, but I think it&amp;#39;s very unfair especially because companies should hire people based on their potential(as whatever experience someone can have, a new job is always NEW!). Whether you are a computer/software programming geek or not, those systems are unfair. That&amp;#39;s it.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/8074324354701277407/comments/default/5888729875437584291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/8074324354701277407/comments/default/5888729875437584291'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2010/09/is-codility-fair.html?showComment=1315941190996#c5888729875437584291' title=''/><author><name>Giancamati</name><uri>http://www.blogger.com/profile/05844429649460495745</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2010/09/is-codility-fair.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-8074324354701277407' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/8074324354701277407' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1731791063'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-2405413019353378471</id><published>2011-09-13T21:10:44.191+02:00</published><updated>2011-09-13T21:10:44.191+02:00</updated><title type='text'></title><content type='html'>This comment has been removed by the author.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/8074324354701277407/comments/default/2405413019353378471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/8074324354701277407/comments/default/2405413019353378471'/><author><name>Giancamati</name><uri>http://www.blogger.com/profile/05844429649460495745</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2010/09/is-codility-fair.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-8074324354701277407' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/8074324354701277407' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.contentRemoved' value='true'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1731791063'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-4975509083504527569</id><published>2011-07-15T11:20:57.492+02:00</published><updated>2011-07-15T11:20:57.492+02:00</updated><title type='text'>The PS test, lends itself to using a hash table, t...</title><content type='html'>The PS test, lends itself to using a hash table, this means its hard to produce a solution in C in the time scale required (both writing and execution). Has anyone managed to do this? &lt;br /&gt;&lt;br /&gt;I noticed the question did not state, what to do with an out of bounds data set.&lt;br /&gt;&lt;br /&gt;This was my solution, it had a speed up but not a good enough one it seems.&lt;br /&gt;&lt;br /&gt;    int ps ( int A[], int n ) {&lt;br /&gt;    if (n&amp;lt;1 || n&amp;gt;1000000)&lt;br /&gt;       return -1;&lt;br /&gt;        &lt;br /&gt;    int count;&lt;br /&gt;    int count2;&lt;br /&gt;     &lt;br /&gt;    int test[1000000];&lt;br /&gt;    int test_total=0;&lt;br /&gt;    int pos=0;&lt;br /&gt;     &lt;br /&gt;    for (count=0;count&amp;lt;n;count++)&lt;br /&gt;    {&lt;br /&gt;    int found=0;&lt;br /&gt;      for (count2=0; count2&amp;lt;test_total; ++count2)&lt;br /&gt;          if (test[count2]==A[count])&lt;br /&gt;          {&lt;br /&gt;             found=1;&lt;br /&gt;            continue;&lt;br /&gt;          }&lt;br /&gt;        &lt;br /&gt;       if (!found)&lt;br /&gt;          {&lt;br /&gt;              pos=count;&lt;br /&gt;              test[test_total++]=A[count];&lt;br /&gt;            &lt;br /&gt;            }&lt;br /&gt;    }&lt;br /&gt;    return pos;&lt;br /&gt;}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/6212960564738222625/comments/default/4975509083504527569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/6212960564738222625/comments/default/4975509083504527569'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2011/03/solutions-for-task-equi.html?showComment=1310721657492#c4975509083504527569' title=''/><author><name>oolon</name><uri>http://www.blogger.com/profile/02731595116866804756</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2011/03/solutions-for-task-equi.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-6212960564738222625' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/6212960564738222625' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1459702521'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-5196013604406183637</id><published>2011-07-14T21:57:11.891+02:00</published><updated>2011-07-14T21:57:11.891+02:00</updated><title type='text'>Anybody got a solution to the disc intersections p...</title><content type='html'>Anybody got a solution to the disc intersections problem that is &amp;lt; O(n^2)? I failed the tests on scalability.&lt;br /&gt;&lt;br /&gt;Here was my attempt:&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;class Solution {  &lt;br /&gt;  &lt;br /&gt;int number_of_disc_intersections ( int[]A )        &lt;br /&gt;{  &lt;br /&gt;          &lt;br /&gt;int count = 0;  &lt;br /&gt;           &lt;br /&gt;for(int i=0; i= j - A[j])             &lt;br /&gt;        {                                    &lt;br /&gt;            count++;                     &lt;br /&gt;        }  &lt;br /&gt;        &lt;br /&gt;        if(count &amp;gt; 10000000)      &lt;br /&gt;            return -1;               &lt;br /&gt;    }            &lt;br /&gt;              &lt;br /&gt;}  &lt;br /&gt;        &lt;br /&gt;return count;   &lt;br /&gt; &lt;br /&gt;    &lt;br /&gt;}  &lt;br /&gt;}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/6212960564738222625/comments/default/5196013604406183637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/6212960564738222625/comments/default/5196013604406183637'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2011/03/solutions-for-task-equi.html?showComment=1310673431891#c5196013604406183637' title=''/><author><name>digiology</name><uri>http://www.blogger.com/profile/02749071121178339651</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2011/03/solutions-for-task-equi.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-6212960564738222625' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/6212960564738222625' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2041514553'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-1241615552415685926</id><published>2011-07-14T20:01:11.642+02:00</published><updated>2011-07-14T20:01:11.642+02:00</updated><title type='text'>Surely its not about a vector/array being &amp;#39;in ...</title><content type='html'>Surely its not about a vector/array being &amp;#39;in equilibrium&amp;#39;, its about the existence of a position P that satisfies the problem&amp;#39;s conditions. For an array of size 0, this is false because of the condition: 0 &amp;lt;= P &amp;lt; N. No positions exist in an empty array and certainly no positions that are &amp;lt; N!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/6212960564738222625/comments/default/1241615552415685926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/6212960564738222625/comments/default/1241615552415685926'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2011/03/solutions-for-task-equi.html?showComment=1310666471642#c1241615552415685926' title=''/><author><name>digiology</name><uri>http://www.blogger.com/profile/02749071121178339651</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2011/03/solutions-for-task-equi.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-6212960564738222625' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/6212960564738222625' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2041514553'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-7792706058049042604</id><published>2011-07-06T20:16:06.221+02:00</published><updated>2011-07-06T20:16:06.221+02:00</updated><title type='text'>From the task description, I concluded that an emp...</title><content type='html'>From the task description, I concluded that an empty vector (C++) was always in equilibrium (just like a vector with only 1 element) since for any index, the number of elements before or after is zero, so they&amp;#39;re sums are equal (0).&lt;br /&gt;&lt;br /&gt;Also, the concept that an empty container is in equilibrium &amp;quot;feels&amp;quot; right.  So my check was if vector.size()&amp;gt;1 before using the algorithm, i.e. all vectors with a size of 0 or 1 are in equilibrium.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/6212960564738222625/comments/default/7792706058049042604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/6212960564738222625/comments/default/7792706058049042604'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2011/03/solutions-for-task-equi.html?showComment=1309976166221#c7792706058049042604' title=''/><author><name>Michael H. Cox</name><uri>http://www.blogger.com/profile/15903066939108647146</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2011/03/solutions-for-task-equi.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-6212960564738222625' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/6212960564738222625' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-269113481'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-1749404177324662548</id><published>2011-07-06T19:02:14.091+02:00</published><updated>2011-07-06T19:02:14.091+02:00</updated><title type='text'>Brent212,

Didn&amp;#39;t see the reference to the sta...</title><content type='html'>Brent212,&lt;br /&gt;&lt;br /&gt;Didn&amp;#39;t see the reference to the standard library in the task description, but I used std::accumulate().</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/6212960564738222625/comments/default/1749404177324662548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/6212960564738222625/comments/default/1749404177324662548'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2011/03/solutions-for-task-equi.html?showComment=1309971734091#c1749404177324662548' title=''/><author><name>Michael H. Cox</name><uri>http://www.blogger.com/profile/15903066939108647146</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2011/03/solutions-for-task-equi.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-6212960564738222625' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/6212960564738222625' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-269113481'/></entry><entry><id>tag:blogger.com,1999:blog-4268903649676626374.post-4404223748086531830</id><published>2011-06-28T21:33:02.474+02:00</published><updated>2011-06-28T21:33:02.474+02:00</updated><title type='text'>So what&amp;#39;s that C++ standard library that the t...</title><content type='html'>So what&amp;#39;s that C++ standard library that the task description mentioned as being useful?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/6212960564738222625/comments/default/4404223748086531830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4268903649676626374/6212960564738222625/comments/default/4404223748086531830'/><link rel='alternate' type='text/html' href='http://blog.codility.com/2011/03/solutions-for-task-equi.html?showComment=1309289582474#c4404223748086531830' title=''/><author><name>Brent212</name><uri>http://www.blogger.com/profile/15314376892890999353</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_9WygwpV79jA/TPVyu378LgI/AAAAAAAAAOg/EUVwipXSLCY/S220/cobratime_avatar_squared_68_pixels.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.codility.com/2011/03/solutions-for-task-equi.html' ref='tag:blogger.com,1999:blog-4268903649676626374.post-6212960564738222625' source='http://www.blogger.com/feeds/4268903649676626374/posts/default/6212960564738222625' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-314250008'/></entry></feed>
