<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Under Arbor, Imagining... &#187; C++/Algorithms</title>
	<atom:link href="http://agidari.wordpress.com/category/calgorithms/feed/" rel="self" type="application/rss+xml" />
	<link>http://agidari.wordpress.com</link>
	<description>아기다리 agidari epsilon1205</description>
	<lastBuildDate>Sat, 28 Nov 2009 14:47:43 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>ko</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='agidari.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/e9c8100eeee089fdf8636da05ec6495b?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Under Arbor, Imagining... &#187; C++/Algorithms</title>
		<link>http://agidari.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://agidari.wordpress.com/osd.xml" title="Under Arbor, Imagining&#8230;" />
		<item>
		<title>IOCCC.</title>
		<link>http://agidari.wordpress.com/2008/01/16/ioccc/</link>
		<comments>http://agidari.wordpress.com/2008/01/16/ioccc/#comments</comments>
		<pubDate>Wed, 16 Jan 2008 13:16:49 +0000</pubDate>
		<dc:creator>아기다리</dc:creator>
				<category><![CDATA[C++/Algorithms]]></category>

		<guid isPermaLink="false">http://agidari.wordpress.com/2008/01/16/ioccc/</guid>
		<description><![CDATA[The International Obfuscated C Code Contest
 제목을 보면 참 -_-;;
말 그대로, &#8216;참 복잡한 C 코드 만들기&#8217;대회입니다.
그런데  단순히 &#8216;복잡하다&#8217;란 단어로는 이 대회를 설명할 수 없는것 같네요 -_- 수상작들을 보면 차라리 예술에 가까운 코드들입니다.
Goals of the Contest를 보면 :

To write the most Obscure/Obfuscated C program under the rules below.
To show the importance of programming style, in an ironic [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=agidari.wordpress.com&blog=494477&post=218&subd=agidari&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p align="center"><font size="6"><i>The International Obfuscated C Code Contest</i></font></p>
<p> 제목을 보면 참 -_-;;</p>
<p>말 그대로, &#8216;참 복잡한 C 코드 만들기&#8217;대회입니다.</p>
<p>그런데  단순히 &#8216;복잡하다&#8217;란 단어로는 이 대회를 설명할 수 없는것 같네요 -_- 수상작들을 보면 차라리 예술에 가까운 코드들입니다.</p>
<p>Goals of the Contest를 보면 :</p>
<ul>
<li>To write the most Obscure/Obfuscated C program under the rules below.</li>
<li>To show the importance of programming style, in an ironic way.</li>
<li>To stress C compilers with unusual code.</li>
<li>To illustrate some of the subtleties of the C language.</li>
<li>To provide a safe forum for poor C code. :-)</li>
</ul>
<p>&#8230;여전히 이 대회의 진정한 목적이 무엇인지 납득이 되지 않습니다&#8230;.</p>
<p>자, 가장 중요한 수상작들입니다. 수상작 C 소스는 오스트레일리아 IOCCC 대회(http://www.au.ioccc.org/main.html)에서 퍼왔습니다.</p>
<p>이 소스는 timwi란 분의 작입니다 :</p>
<blockquote><p>#include &lt;stdio.h&gt;<br />
#define _ main(<br />
#define _l ___l ___l ___l ___l ___)<br />
#define __l int<br />
#define ___l ___)*(<br />
#define ____l (_l],<br />
#define ____ 1<br />
#define ___ __+_____<br />
#define __ ____+____<br />
#define _____ __+____<br />
#define ______1 *(l__<br />
#define _____1 *__1%(__<br />
#define ____1 )?(<br />
#define ___1 _1&amp;(__<br />
__l __I[____l _I[____l*l__=_I,*l_=__I;__l _ __l _1,__l*__1){__l _l_;<br />
return ___1+ __ ____1 ___1 ____1*__1 = getchar()):__ ____1*__1&lt;____?<br />
____:_____1+___ ____1 _____1+_____ ____1 _____1+____)____1 ___1+___+<br />
____ ____1 _____1 +__)____1 _____1 )____1 *l__)++:_____1+____)-____?<br />
______1 ++) :_____1+_____) -____?__:printf("%d\n",*l__):_____1+____+<br />
___ ____1 *l__) =*(l_++ ):__:___l ____- ____):_____1 +_____)-3?__-2:<br />
____:(___1+____+___ ____1 _____1)____1*l__)-- :_____1+__)?__:______1<br />
--):___l 0))?__:_ _1,__1+____)+____:(___1+____+___ )) &amp;&amp;* l__?_ ___1<br />
+___+___+__),__1+____)?_ ___1+11 )|(___1)?____:__- 2),__1):____-1 :(<br />
_l_=_ ___1 -____+___l ____),__1+____ )) ?_l_+_ ___1 )?_1 :___1+10)|(<br />
___1-____ ____1 __):0),__1+_l_):0):__:_1%(__ ____1 _1/(__)) ?_ scanf<br />
("%i",__1 ____1 _____):(___l _____)-____,__1 +____):_ _____,l_):__;}</p></blockquote>
<p>......</p>
<p>.......-_-.......</p>
<p>참고로 컴파일 가능합니다.</p>
<p>저랑 조교 형이랑 앞부분 조금만 풀어봤는데;;  힌트를 보시려면 오른쪽을 드래그해보세요 : <font color="#ffffff">시작은 global variable + 변수명</font><br />
네, 두 번째 작품입니다. chia란 분의, Java를 상당히 싫어하는 분이 작성한 코듭니다.</p>
<blockquote><p>#define aSet c<br />
#define BufferedReader(x)1<br />
#define byte Y[I][_^1]?do(:):_&amp;1?do(.):do(`):8;++y;}<br />
#define class int N=0,_,O=328,l=192,y=4,Y[80][64]={0},I;struct<br />
#define do(c)a(#c &#8220;\b&#8221;)<br />
#define err c,c<br />
#define getAllStrings(x));q()<br />
#define if(x)b(#x)<br />
#define IOException<br />
#define line c<br />
#define main(a)b(char*x){write(1,&#8221;33[",2),null}main()<br />
#define new<br />
#define null a(x);}a(char*x){write(1,x,strlen(x));try;try;try;try;<br />
#define out c,c<br />
#define println(x)c<br />
#define private int d(int<br />
#define public short c;}c;typedef int BufferedReader;char*F="JF&gt;:&gt;FB;;BII";<br />
#define return {return<br />
#define static f(x){N=(N+x)%6,y--?f(0),f(1),f(4),f(1):++Y[(I=O+N[F]-66)<br />
#define String<br />
#define System c<br />
#define this if(D):1,O=I,I/=16,l&lt;_/32?if(B):l&gt;_/32?if(A):2,l=_,_/=16,byte<br />
#define throws<br />
#define toArray(x)c<br />
#define try for(;&#8211;c.c;)<br />
#define void /16][(_=l+N[6+F]-66)/16]?O/=16,l/=32,O&lt;I/16?if(C):O&gt;I/16?this<br />
#define while(k)if(2J),if(7;21H),f(0),f(4),f(4),if(H),/*</p>
<p>import java.io.*;<br />
import java.util.*;</p>
<p>/**<br />
* A lame Java program.<br />
* @author    J. Random Worker<br />
*/<br />
class LameJavaApp<br />
{</p>
<p>/** The infamous Long-Winded Signature From Hell. */<br />
public static void main(String[] args)<br />
throws IOException<br />
{<br />
/* Don&#8217;t get me started on this. */<br />
BufferedReader reader =<br />
new BufferedReader(new FileReader(args[0]));</p>
<p>/* What, this long incantation just to print a string? */<br />
System.err.println(&#8220;Hello world!&#8221;);</p>
<p>/* At least this is sane. */<br />
String line;<br />
while ((line = reader.readLine()) != null)<br />
System.out.println(line.length());<br />
}</p>
<p>/**<br />
* Method with a needlessly long name.<br />
* @param    aSet        a set (!)<br />
*/<br />
private String[] getAllStrings(Set&lt;String&gt; aSet)<br />
{<br />
/*<br />
* This dance is needed even in J2SE 5, which has type<br />
* templates. It was worse before that.<br />
*/<br />
return aSet.toArray(new String[0]);<br />
}</p>
<p>}</p></blockquote>
<p>&#8230;&#8230;.</p>
<p>-_-;;;;;;;; 예술&#8230;.??  분명 C코드인데? -_;;;;;</p>
<p>이  외에도  정말  입벌어지는  소스들이 많습니다만(소스로 그림을 그립니다) 할  일도  많고, 포스팅이 너무 길어질 것 같에서 이만 줄입니다:)</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/agidari.wordpress.com/218/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/agidari.wordpress.com/218/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/agidari.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/agidari.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/agidari.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/agidari.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/agidari.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/agidari.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/agidari.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/agidari.wordpress.com/218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/agidari.wordpress.com/218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/agidari.wordpress.com/218/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=agidari.wordpress.com&blog=494477&post=218&subd=agidari&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://agidari.wordpress.com/2008/01/16/ioccc/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fe672187865a9139f877cfbf974fbcc0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">아기다리</media:title>
		</media:content>
	</item>
		<item>
		<title>그래프에서 cycle 판명법?</title>
		<link>http://agidari.wordpress.com/2007/11/10/%ea%b7%b8%eb%9e%98%ed%94%84%ec%97%90%ec%84%9c-cycle-%ed%8c%90%eb%aa%85%eb%b2%95/</link>
		<comments>http://agidari.wordpress.com/2007/11/10/%ea%b7%b8%eb%9e%98%ed%94%84%ec%97%90%ec%84%9c-cycle-%ed%8c%90%eb%aa%85%eb%b2%95/#comments</comments>
		<pubDate>Fri, 09 Nov 2007 15:54:30 +0000</pubDate>
		<dc:creator>아기다리</dc:creator>
				<category><![CDATA[C++/Algorithms]]></category>

		<guid isPermaLink="false">http://agidari.wordpress.com/2007/11/10/%ea%b7%b8%eb%9e%98%ed%94%84%ec%97%90%ec%84%9c-cycle-%ed%8c%90%eb%aa%85%eb%b2%95/</guid>
		<description><![CDATA[문제는 정말 간단하다. 답변도 만만치 않게 간단하다.
그런데 뭔가 해탈을 주는듯한 그런 문제일까나 ㅎㅎ
        
엄청나게 긴 linked list가 있다. 여기서 cycle을 어떻게 찾을 수 있을까?
 답은 간단하다. pointer 2개를 만드는데, 하나는 0에 위치하고 하나는 1에 위치한다. 그리고, 전자의 것은 1칸씩, 후자의 것은 2칸씩 뛰게 해서 둘이 만나면 싸이클이다.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=agidari.wordpress.com&blog=494477&post=204&subd=agidari&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>문제는 정말 간단하다. 답변도 만만치 않게 간단하다.</p>
<p>그런데 뭔가 해탈을 주는듯한 그런 문제일까나 ㅎㅎ</p>
<p>        </p>
<p>엄청나게 긴 linked list가 있다. 여기서 cycle을 어떻게 찾을 수 있을까?</p>
<p> 답은 간단하다. pointer 2개를 만드는데, 하나는 0에 위치하고 하나는 1에 위치한다. 그리고, 전자의 것은 1칸씩, 후자의 것은 2칸씩 뛰게 해서 둘이 만나면 싸이클이다.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/agidari.wordpress.com/204/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/agidari.wordpress.com/204/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/agidari.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/agidari.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/agidari.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/agidari.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/agidari.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/agidari.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/agidari.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/agidari.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/agidari.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/agidari.wordpress.com/204/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=agidari.wordpress.com&blog=494477&post=204&subd=agidari&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://agidari.wordpress.com/2007/11/10/%ea%b7%b8%eb%9e%98%ed%94%84%ec%97%90%ec%84%9c-cycle-%ed%8c%90%eb%aa%85%eb%b2%95/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fe672187865a9139f877cfbf974fbcc0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">아기다리</media:title>
		</media:content>
	</item>
		<item>
		<title>Downloadable C++ Compilers(or Editors)</title>
		<link>http://agidari.wordpress.com/2006/11/01/downloadable-c-compilersor-editors/</link>
		<comments>http://agidari.wordpress.com/2006/11/01/downloadable-c-compilersor-editors/#comments</comments>
		<pubDate>Wed, 01 Nov 2006 14:10:21 +0000</pubDate>
		<dc:creator>아기다리</dc:creator>
				<category><![CDATA[C++/Algorithms]]></category>
		<category><![CDATA[C 편집기]]></category>
		<category><![CDATA[C++ Compiler]]></category>
		<category><![CDATA[C++ Editor]]></category>

		<guid isPermaLink="false">http://agidari.wordpress.com/2006/11/01/downloadable-c-compilersor-editors/</guid>
		<description><![CDATA[- Visual Studio 2005 C++ Express  edition(for Windows)
http://msdn.microsoft.com/vstudio/express/visualc/download/
http://www.microsoft.com/korea/msdn/vstudio/express/visualc/download/ (for Korean)
- Dev-C++(for Windows)
http://www.bloodshed.net/dev/devcpp.html
- KDevelop(for Linux)
http://www.kdevelop.org/
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=agidari.wordpress.com&blog=494477&post=26&subd=agidari&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>- Visual Studio 2005 C++ Express  edition(for Windows)<br />
<a href="http://msdn.microsoft.com/vstudio/express/visualc/download/">http://msdn.microsoft.com/vstudio/express/visualc/download/</a><br />
<a href="http://www.microsoft.com/korea/msdn/vstudio/express/visualc/download/">http://www.microsoft.com/korea/msdn/vstudio/express/visualc/download/ </a>(for Korean)</p>
<p>- Dev-C++(for Windows)<br />
<a href="http://www.bloodshed.net/dev/devcpp.html">http://www.bloodshed.net/dev/devcpp.html</a></p>
<p>- KDevelop(for Linux)<br />
<a href="http://www.kdevelop.org/">http://www.kdevelop.org/</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/agidari.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/agidari.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/agidari.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/agidari.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/agidari.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/agidari.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/agidari.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/agidari.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/agidari.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/agidari.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/agidari.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/agidari.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=agidari.wordpress.com&blog=494477&post=26&subd=agidari&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://agidari.wordpress.com/2006/11/01/downloadable-c-compilersor-editors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fe672187865a9139f877cfbf974fbcc0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">아기다리</media:title>
		</media:content>
	</item>
	</channel>
</rss>