<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jin Chen on Medium]]></title>
        <description><![CDATA[Stories by Jin Chen on Medium]]></description>
        <link>https://medium.com/@i_chaos?source=rss-1ce2d369c177------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*jEMzY9Ks-df6Qdd4.jpg</url>
            <title>Stories by Jin Chen on Medium</title>
            <link>https://medium.com/@i_chaos?source=rss-1ce2d369c177------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 23:53:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@i_chaos/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Print china map in six lines of C code]]></title>
            <link>https://medium.com/@i_chaos/print-china-map-in-six-lines-of-c-code-dea60afaf5d9?source=rss-1ce2d369c177------2</link>
            <guid isPermaLink="false">https://medium.com/p/dea60afaf5d9</guid>
            <dc:creator><![CDATA[Jin Chen]]></dc:creator>
            <pubDate>Fri, 18 Apr 2014 08:24:36 GMT</pubDate>
            <atom:updated>2014-12-12T06:01:31.970Z</atom:updated>
            <content:encoded><![CDATA[<p>Learn from <a href="http://stackoverflow.com/questions/3533348/how-does-this-code-generate-the-map-of-india">How does this code generate the map of India</a>?</p><p>First, get a china map bitmap picture and use run-length encoding encode it, get this magic string:</p><p>b&amp;M\”D(G*&gt;/#\”;,B1:0=12&lt;924;554D *76`&lt;W#!?UEZ&gt;YCWEWFTJOP$%CXAX@Z? \\#(/&amp;!e)s z#F</p><p>Then, print it out use this piece of code:</p><p><strong>#include &lt;stdio.h&gt;</strong></p><pre><strong>int main()</strong>{<strong>int </strong>a,b,c; <strong>for (</strong>b <strong>= </strong>c <strong>= </strong>10; (a <strong>= </strong></pre><pre> 	&quot;-FIGURE?,China *CJ Hello Folks,\</pre><pre> 	b&amp;M\”D(G*&gt;/#\”;,B1:0=12&lt;924;554D\</pre><pre> 	*76`&lt;W#!?UEZ&gt;YCWEWFTJOP$%CXAX@Z?\</pre><pre> 	\\#(/&amp;!e)s z#F”[b<strong>+++</strong>21]); )</pre><pre><strong> for(</strong>; a— &gt;32 ; ) putchar ( <strong>++</strong>c<strong>==’</strong>d’ <strong>? </strong>c <strong>= </strong>c<strong>/</strong>10<strong>:3</strong>2<strong>|(</strong>b<strong>&amp;</strong>1<strong>?</strong>0<strong>:</strong>10)); <strong>return </strong>0; }</pre><p>Here is the output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*0K_TGTnF7uoRP_EjFeMIyA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dea60afaf5d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>