<?xml version="1.0" encoding="utf-8"?>
<feed
    xmlns="http://www.w3.org/2005/Atom"
    xmlns:at="http://www.sixapart.com/ns/at"
    xmlns:icbm="http://postneo.com/icbm"
    xmlns:rvw="http://purl.org/NET/RVW/0.2/"
    xml:lang="en">
    <title>liquidbird</title>
    <link rel="self" type="application/atom+xml" title="liquidbird (Atom)" href="http://liquidbird.vox.com/library/posts/page/1/atom.xml" />
    <link rel="alternate" type="text/html" title="liquidbird" href="http://liquidbird.vox.com/library/posts/page/1/"/> 
    <link rel="service.post" type="application/atom+xml" title="liquidbird" href="http://www.vox.com/services/atom/svc=post/collection_id=6a00e398a78e24000400e398a792cd0005" /> 
    <link rel="service.subscribe" type="application/atom+xml" title="liquidbird" href="http://liquidbird.vox.com/library/posts/atom.xml" />    
    <link rel="next" type="application/atom+xml" title="liquidbird" href="http://liquidbird.vox.com/library/posts/page/2/atom.xml" /> 
    <link rel="last" type="application/atom+xml" title="liquidbird" href="http://liquidbird.vox.com/library/posts/page/11/atom.xml" />  
    <generator uri="http://www.vox.com/">Vox</generator>
    <updated>2009-12-26T19:15:01Z</updated> 
    <author>
        <name>liquidbird</name>
        <uri>http://liquidbird.vox.com/?_c=feed-atom-full</uri>
    </author> 
    <id>tag:vox.com,2006:6p00e398a78e240004/</id>  
    
    <entry>
        <title>harpsibossa</title>   
        <link rel="alternate" type="text/html" title="harpsibossa" href="http://liquidbird.vox.com/library/post/harpsibossa.html?_c=feed-atom-full" />  
        <link rel="service.post" type="application/atom+xml" title="harpsibossa" href="http://liquidbird.vox.com/library/post/harpsibossa.html?_c=feed-atom-full#comments" /> 
        <link rel="service.edit" type="application/atom+xml" title="harpsibossa" href="http://www.vox.com/atom/svc=post/asset_id=6a00e398a78e2400040123ddce8018860b" />   
        <link rel="enclosure" href="http://a2.vox.com/download/6a00e398a78e2400040123f18d373a860f-pi.mp3" type="audio/mp3" length="1977450" />          <id>tag:vox.com,2009-12-26:asset-6a00e398a78e2400040123ddce8018860b</id>
        <published>2009-12-26T19:15:01Z</published>
        <updated>2009-12-26T19:15:01Z</updated>
    
        <author>
            <name>liquidbird</name>
            <uri>http://liquidbird.vox.com/?_c=feed-atom-full</uri>
        </author>
    
        
        <content type="html" xml:base="http://liquidbird.vox.com/?_c=feed-atom-full">
            <![CDATA[
                <div xmlns="http://www.w3.org/1999/xhtml" xmlns:at="http://www.sixapart.com/ns/at">
        <p>Sounds :<br />&#160; harpsichord, electric piano : Pianoteq 3</p>
    
    
    










    
    
    









<div at:enclosure="asset" at:xid="6a00e398a78e2400040123f18d373a860f" at:format="small" at:align="center"
    class="enclosure enclosure-center enclosure-small audio-enclosure" 
     style="text-align: center;">
<div class="enclosure-inner"
    
        style="padding: 9px; border: 1px solid; width: px; margin: 10px auto;"
    >
    <div class="enclosure-list">
        <div class="enclosure-item audio-asset last">
    
            <div class="enclosure-image">
        
                <a href="http://liquidbird.vox.com/library/audio/6a00e398a78e2400040123f18d373a860f.html"><img src="http://a2.vox.com/6a00e398a78e2400040123f18d373a860f-120pi" alt="Harpsibossa" title="Harpsibossa" /></a>
        
            </div>
            <div class="enclosure-meta">
                <div class="enclosure-asset-name"><a href="http://liquidbird.vox.com/library/audio/6a00e398a78e2400040123f18d373a860f.html" title="Harpsibossa">Harpsibossa</a></div>
            </div>
    
        </div>
    </div>
</div>
</div><!-- end enclosure -->

<p><br /><div><br /></div></p>   <p style="clear:both;"> 
    <a href="http://liquidbird.vox.com/library/post/harpsibossa.html?_c=feed-atom-full#comments">Read and post comments</a>   |   
    <a href="http://www.vox.com/share/6a00e398a78e2400040123ddce8018860b?_c=feed-atom-full">Send to a friend</a> 
</p>

                </div>
            ]]>
        </content> 
    <category term="my music" scheme="http://liquidbird.vox.com/tags/my+music/" label="my music" /> 
    </entry> 
    
    <entry>
        <title>Guitar+Piano sketch</title>   
        <link rel="alternate" type="text/html" title="Guitar+Piano sketch" href="http://liquidbird.vox.com/library/post/guitarpiano-sketch.html?_c=feed-atom-full" />  
        <link rel="service.post" type="application/atom+xml" title="Guitar+Piano sketch" href="http://liquidbird.vox.com/library/post/guitarpiano-sketch.html?_c=feed-atom-full#comments" /> 
        <link rel="service.edit" type="application/atom+xml" title="Guitar+Piano sketch" href="http://www.vox.com/atom/svc=post/asset_id=6a00e398a78e2400040123ddf71db0860d" />   
        <link rel="enclosure" href="http://a1.vox.com/download/6a00e398a78e24000401240b89ce51860e-pi.mp3" type="audio/mpeg" length="1253876" />          <id>tag:vox.com,2009-12-26:asset-6a00e398a78e2400040123ddf71db0860d</id>
        <published>2009-12-26T18:53:26Z</published>
        <updated>2009-12-26T18:53:26Z</updated>
    
        <author>
            <name>liquidbird</name>
            <uri>http://liquidbird.vox.com/?_c=feed-atom-full</uri>
        </author>
    
        
        <content type="html" xml:base="http://liquidbird.vox.com/?_c=feed-atom-full">
            <![CDATA[
                <div xmlns="http://www.w3.org/1999/xhtml" xmlns:at="http://www.sixapart.com/ns/at">
        <p><br />느린 것부터 하나. 베이스와 최소한의 드럼 정도 추가 또는 이대로 기타+피아노만.</p>
    
    
    










    
    
    









<div at:enclosure="asset" at:xid="6a00e398a78e24000401240b89ce51860e" at:format="small" at:align="center"
    class="enclosure enclosure-center enclosure-small audio-enclosure" 
     style="text-align: center;">
<div class="enclosure-inner"
    
        style="padding: 9px; border: 1px solid; width: px; margin: 10px auto;"
    >
    <div class="enclosure-list">
        <div class="enclosure-item audio-asset last">
    
            <div class="enclosure-image">
        
                <a href="http://liquidbird.vox.com/library/audio/6a00e398a78e24000401240b89ce51860e.html"><img src="http://a1.vox.com/6a00e398a78e24000401240b89ce51860e-120pi" alt="어떤 카인드 오브 리버 느낌의 제목" title="어떤 카인드 오브 리버 느낌의 제목" /></a>
        
            </div>
            <div class="enclosure-meta">
                <div class="enclosure-asset-name"><a href="http://liquidbird.vox.com/library/audio/6a00e398a78e24000401240b89ce51860e.html" title="어떤 카인드 오브 리버 느낌의 제목">어떤 카인드 오브 리버 느낌의 제목</a></div>
            </div>
    
        </div>
    </div>
</div>
</div><!-- end enclosure -->

<p></p><p><br />( 다음엔 코드 복잡하고 리드미컬한 depapepe style 빠른 곡도 하나 )<br /><div><br /></div></p>   <p style="clear:both;"> 
    <a href="http://liquidbird.vox.com/library/post/guitarpiano-sketch.html?_c=feed-atom-full#comments">Read and post comments</a>   |   
    <a href="http://www.vox.com/share/6a00e398a78e2400040123ddf71db0860d?_c=feed-atom-full">Send to a friend</a> 
</p>

                </div>
            ]]>
        </content> 
    <category term="my music" scheme="http://liquidbird.vox.com/tags/my+music/" label="my music" /> 
    </entry> 
    
    <entry>
        <title>TED - David Deutsch : Parallel universes and you</title>   
        <link rel="alternate" type="text/html" title="TED - David Deutsch : Parallel universes and you" href="http://liquidbird.vox.com/library/post/ted---david-deutsch-parallel-universes-and-you.html?_c=feed-atom-full" />  
        <link rel="service.post" type="application/atom+xml" title="TED - David Deutsch : Parallel universes and you" href="http://liquidbird.vox.com/library/post/ted---david-deutsch-parallel-universes-and-you.html?_c=feed-atom-full#comments" /> 
        <link rel="service.edit" type="application/atom+xml" title="TED - David Deutsch : Parallel universes and you" href="http://www.vox.com/atom/svc=post/asset_id=6a00e398a78e2400040123ddf2a70e860d" />          <id>tag:vox.com,2009-12-16:asset-6a00e398a78e2400040123ddf2a70e860d</id>
        <published>2009-12-16T15:23:36Z</published>
        <updated>2009-12-16T15:26:59Z</updated>
    
        <author>
            <name>liquidbird</name>
            <uri>http://liquidbird.vox.com/?_c=feed-atom-full</uri>
        </author>
    
        
        <content type="html" xml:base="http://liquidbird.vox.com/?_c=feed-atom-full">
            <![CDATA[
                <div xmlns="http://www.w3.org/1999/xhtml" xmlns:at="http://www.sixapart.com/ns/at">
        <p>
    
    
    

평행우주에 대한 짧은 <del>이야기</del> 선문답<br />
    
    
    


    
    
    


    
    
    

<div at:enclosure="asset" at:xid="6a00e398a78e2400040123ddf2a6d4860d" at:format="auto" at:align="center"
    class="enclosure enclosure-center enclosure-auto embed-enclosure" 
     style="text-align: center;">
<div class="enclosure-inner"
    
        style="width: 446px;"
    >
    <div class="enclosure-list">
        <div class="enclosure-item embed-asset last">
    
            <div class="enclosure-embed">
        
                <iframe class="enclosure-iframe" frameborder="0" scrolling="no" src="http://a4.vox-data.com/6a00e398a78e2400040123ddf2a6d4860d-html" style="width: 446px; height: 326px;"></iframe>
        
            </div>
            <div class="enclosure-meta">
                <div class="enclosure-asset-name"></div>
            </div>
    
        </div>
    </div>
</div>
</div><!-- end enclosure -->



 <div><br />아래는 받아쓰기 (영어대본이 아직 없어서 안 들리는 부분은 확인불가. xxxx, () 등으로 적었음. )<br /><br />Chris Anderson :<br />You (want)&#160; x xxxxx x xxxxxxxx of the parallel universe and teleportation of the quantum theory.<br />How is it doing in the sort of battle for (mine) space among physicists, among leading physicists.<br />You are winning or loosing?<br /><br />David Deutsch :<br />I think it&#39;s gradually creeping forwards.<br />Younger people don&#39;t like mystical interpretations of quantum mechanics (so they had done) so much harm during the last 70 odd years.<br />And they then have a choice that face with an existential choice, either shut up and calculate which the majority do, or believe the Everret&#39;s multiple universes interpretaion of quantum mechanics.<br />And those are maybe 90 percent or 89 percent and 10 percent. I don&#39;t think there&#39;re more than one percent of physicists who believe in anything other than those two things.<br /><br />Chris Anderson :<br />Someone who beilieves in parallel universes, does it change how you experience this live?<br />Does it give you... How do you think of them? How do you think free will for example in relation to that, at all?<br /><br />David Deutsch :<br />First of all, we have to have a true explanation of the world otherwise we&#39;re try to explain the world in terms of things that (untrue) like gods and goddesses.<br />The fact that there are parallel universes affects all sorts of things about that... but they all (feed) in to human considerations indirectly.<br />For instance, there are centuries all debate about what (role?) determinism has immorality.<br />You know, some people think that if we&#39;re determined by law of physics, we can&#39;t be reponsible for our actions.<br />And other people think since we are responsible for our actions, the law of physics can&#39;t be deterministic or even physics can&#39;t be fundamental (haven&#39;t) for bit.<br />But if you understand parallel universes and teleportation you see there&#39;s a rich in a substructure there that can accommodate what people want, both in terms of physics being in fundamental and in terms of there being such things as free will and new knowledge and so on.<br /><br />Chris Anderson :<br />So you believe that you can choose which universe to inhabit in a sense?<br /><br />David Deutsch :<br />No, not quite. We have it them all in different proportions.<br />It&#39;s more that knowing that they&#39;re there gives a framework for understanding what it means to choose something.<br /><br />Chris Anderson :<br />Ok. (laughter) It&#39;s strange enough I actually find not inspiring. David Deutsch, thank you so much.<br /><br /><br />아래는 대강 간단히 한글로.<br /><br />질 : 평행우주론이 어떻게 좀 받아들여지고 있나?<br /><br />답 : 조금씩 나아지는 것 같다. 안 믿는 사람이 9, 믿는 사람이 1 정도이고 나머지는 거의 없지.<br /><br />질 : 평행우주를 믿으면 삶에 영향이 있나? 자유의지라든지 뭐 그런 거.<br /><br />답 : 먼저 우주를 정말 제대로 설명할 수 있어야 돼. 신 같은 걸로 설명하려고 하지 말고.<br />&#160;&#160;&#160;&#160; 결정론이랑 물리법칙은 상충한다고 생각하기 쉬운데, 평행우주는 둘 다를 만족시켜 주지.<br /><br />질 : 그래서 넌 니가 어느 우주에 살지 결정할 수 있다는 거야?<br /><br />답 : 아니 그런 게 아니야. 우린 모든 우주를 서로 다른 비율로 갖고 있어.<br />&#160;&#160;&#160;&#160; 다른 우주들이 거기 존재한다는 사실을 알게 되면, 뭔가를 선택한다는 게 무슨 의미인지를 이해할 수 있는 틀을 가지게 되는 거야.<br /><br />질 : 어.. 뭔 소린진 모르겠는데 여튼 되게 고마워.<br /></div></p>   <p style="clear:both;"> 
    <a href="http://liquidbird.vox.com/library/post/ted---david-deutsch-parallel-universes-and-you.html?_c=feed-atom-full#comments">Read and post comments</a>   |   
    <a href="http://www.vox.com/share/6a00e398a78e2400040123ddf2a70e860d?_c=feed-atom-full">Send to a friend</a> 
</p>

                </div>
            ]]>
        </content> 
    <category term="ted" scheme="http://liquidbird.vox.com/tags/ted/" label="ted" /> 
    <category term="받아쓰기" scheme="http://liquidbird.vox.com/tags/%EB%B0%9B%EC%95%84%EC%93%B0%EA%B8%B0/" label="받아쓰기" /> 
    </entry> 
    
    <entry>
        <title>my flow, your flow</title>   
        <link rel="alternate" type="text/html" title="my flow, your flow" href="http://liquidbird.vox.com/library/post/my-flow-your-flow.html?_c=feed-atom-full" />  
        <link rel="service.post" type="application/atom+xml" title="my flow, your flow" href="http://liquidbird.vox.com/library/post/my-flow-your-flow.html?_c=feed-atom-full#comments" /> 
        <link rel="service.edit" type="application/atom+xml" title="my flow, your flow" href="http://www.vox.com/atom/svc=post/asset_id=6a00e398a78e24000401240b61ff07860e" />   
        <link rel="enclosure" href="http://a1.vox.com/download/6a00e398a78e2400040123ddcf59a9860d-pi.mp3" type="audio/mp3" length="4495236" />          <id>tag:vox.com,2009-09-28:asset-6a00e398a78e24000401240b61ff07860e</id>
        <published>2009-09-28T16:29:47Z</published>
        <updated>2009-09-28T16:29:47Z</updated>
    
        <author>
            <name>liquidbird</name>
            <uri>http://liquidbird.vox.com/?_c=feed-atom-full</uri>
        </author>
    
        
        <content type="html" xml:base="http://liquidbird.vox.com/?_c=feed-atom-full">
            <![CDATA[
                <div xmlns="http://www.w3.org/1999/xhtml" xmlns:at="http://www.sixapart.com/ns/at">
        <p>conflux</p>
    
    
    










    
    
    









<div at:enclosure="asset" at:xid="6a00e398a78e2400040123ddcf59a9860d" at:format="small" at:align="center"
    class="enclosure enclosure-center enclosure-small audio-enclosure" 
     style="text-align: center;">
<div class="enclosure-inner"
    
        style="padding: 9px; border: 1px solid; width: px; margin: 10px auto;"
    >
    <div class="enclosure-list">
        <div class="enclosure-item audio-asset last">
    
            <div class="enclosure-image">
        
                <a href="http://liquidbird.vox.com/library/audio/6a00e398a78e2400040123ddcf59a9860d.html"><img src="http://a1.vox.com/6a00e398a78e2400040123ddcf59a9860d-120pi" alt="My_flow_your_flow" title="My_flow_your_flow" /></a>
        
            </div>
            <div class="enclosure-meta">
                <div class="enclosure-asset-name"><a href="http://liquidbird.vox.com/library/audio/6a00e398a78e2400040123ddcf59a9860d.html" title="My_flow_your_flow">My_flow_your_flow</a></div>
            </div>
    
        </div>
    </div>
</div>
</div><!-- end enclosure -->
<p>
자유롭게 흘러가는 곳으로<br /><div><br /></div></p>   <p style="clear:both;"> 
    <a href="http://liquidbird.vox.com/library/post/my-flow-your-flow.html?_c=feed-atom-full#comments">Read and post comments</a>   |   
    <a href="http://www.vox.com/share/6a00e398a78e24000401240b61ff07860e?_c=feed-atom-full">Send to a friend</a> 
</p>

                </div>
            ]]>
        </content> 
    <category term="my music" scheme="http://liquidbird.vox.com/tags/my+music/" label="my music" /> 
    </entry> 
    
    <entry>
        <title>meant to be together</title>   
        <link rel="alternate" type="text/html" title="meant to be together" href="http://liquidbird.vox.com/library/post/meant-to-be-together.html?_c=feed-atom-full" />  
        <link rel="service.post" type="application/atom+xml" title="meant to be together" href="http://liquidbird.vox.com/library/post/meant-to-be-together.html?_c=feed-atom-full#comments" /> 
        <link rel="service.edit" type="application/atom+xml" title="meant to be together" href="http://www.vox.com/atom/svc=post/asset_id=6a00e398a78e24000401240b5e6c06860e" />   
        <link rel="enclosure" href="http://a7.vox.com/download/6a00e398a78e2400040123f161ddd7860f-pi.mp3" type="audio/mp3" length="1759693" />          <id>tag:vox.com,2009-09-17:asset-6a00e398a78e24000401240b5e6c06860e</id>
        <published>2009-09-17T15:29:01Z</published>
        <updated>2009-09-17T15:29:01Z</updated>
    
        <author>
            <name>liquidbird</name>
            <uri>http://liquidbird.vox.com/?_c=feed-atom-full</uri>
        </author>
    
        
        <content type="html" xml:base="http://liquidbird.vox.com/?_c=feed-atom-full">
            <![CDATA[
                <div xmlns="http://www.w3.org/1999/xhtml" xmlns:at="http://www.sixapart.com/ns/at">
        <p><br />만남.<br />가까와짐.<br />일체감.</p><p>서로의 마음 속에 들어갈 수 있는 사람은 일생에 몇 명이나 될까.<br />우린 누구를 만나도록 되어 있는 것일까.</p>
    
    
    










    
    
    









<div at:enclosure="asset" at:xid="6a00e398a78e2400040123f161ddd7860f" at:format="small" at:align="center"
    class="enclosure enclosure-center enclosure-small audio-enclosure" 
     style="text-align: center;">
<div class="enclosure-inner"
    
        style="padding: 9px; border: 1px solid; width: px; margin: 10px auto;"
    >
    <div class="enclosure-list">
        <div class="enclosure-item audio-asset last">
    
            <div class="enclosure-image">
        
                <a href="http://liquidbird.vox.com/library/audio/6a00e398a78e2400040123f161ddd7860f.html"><img src="http://a7.vox.com/6a00e398a78e2400040123f161ddd7860f-120pi" alt="Meant_to_be_together" title="Meant_to_be_together" /></a>
        
            </div>
            <div class="enclosure-meta">
                <div class="enclosure-asset-name"><a href="http://liquidbird.vox.com/library/audio/6a00e398a78e2400040123f161ddd7860f.html" title="Meant_to_be_together">Meant_to_be_together</a></div>
            </div>
    
        </div>
    </div>
</div>
</div><!-- end enclosure -->

<p></p><div><br /></div>   <p style="clear:both;"> 
    <a href="http://liquidbird.vox.com/library/post/meant-to-be-together.html?_c=feed-atom-full#comments">Read and post comments</a>   |   
    <a href="http://www.vox.com/share/6a00e398a78e24000401240b5e6c06860e?_c=feed-atom-full">Send to a friend</a> 
</p>

                </div>
            ]]>
        </content> 
    <category term="my music" scheme="http://liquidbird.vox.com/tags/my+music/" label="my music" /> 
    </entry> 
    
    <entry>
        <title>on the hillside</title>   
        <link rel="alternate" type="text/html" title="on the hillside" href="http://liquidbird.vox.com/library/post/on-the-hillside.html?_c=feed-atom-full" />  
        <link rel="service.post" type="application/atom+xml" title="on the hillside" href="http://liquidbird.vox.com/library/post/on-the-hillside.html?_c=feed-atom-full#comments" /> 
        <link rel="service.edit" type="application/atom+xml" title="on the hillside" href="http://www.vox.com/atom/svc=post/asset_id=6a00e398a78e2400040123ddcbbffd860d" />   
        <link rel="enclosure" href="http://a0.vox.com/download/6a00e398a78e2400040123ddcbbff8860d-pi.mp3" type="audio/mp3" length="4099010" />          <id>tag:vox.com,2009-09-17:asset-6a00e398a78e2400040123ddcbbffd860d</id>
        <published>2009-09-17T14:19:41Z</published>
        <updated>2009-09-17T14:20:22Z</updated>
    
        <author>
            <name>liquidbird</name>
            <uri>http://liquidbird.vox.com/?_c=feed-atom-full</uri>
        </author>
    
        
        <content type="html" xml:base="http://liquidbird.vox.com/?_c=feed-atom-full">
            <![CDATA[
                <div xmlns="http://www.w3.org/1999/xhtml" xmlns:at="http://www.sixapart.com/ns/at">
        <p><br />바람 부는 푸르른 산중턱에 앉아<br />저 멀리 마을에 돌아가는 물레방아, 흐르는 강물 위 좁은 나무다리를 건너는 아이들,<br />해질녘 바알갛게 물든 집들과 거리</p><p>가고 싶다. 보고 싶다.</p>
    
    
    










    
    
    










    
    
    









<div at:enclosure="asset" at:xid="6a00e398a78e2400040123ddcbbff8860d" at:format="small" at:align="center"
    class="enclosure enclosure-center enclosure-small audio-enclosure" 
     style="text-align: center;">
<div class="enclosure-inner"
    
        style="padding: 9px; border: 1px solid; width: px; margin: 10px auto;"
    >
    <div class="enclosure-list">
        <div class="enclosure-item audio-asset last">
    
            <div class="enclosure-image">
        
                <a href="http://liquidbird.vox.com/library/audio/6a00e398a78e2400040123ddcbbff8860d.html"><img src="http://a0.vox.com/6a00e398a78e2400040123ddcbbff8860d-120pi" alt="On_the_hillside" title="On_the_hillside" /></a>
        
            </div>
            <div class="enclosure-meta">
                <div class="enclosure-asset-name"><a href="http://liquidbird.vox.com/library/audio/6a00e398a78e2400040123ddcbbff8860d.html" title="On_the_hillside">On_the_hillside</a></div>
            </div>
    
        </div>
    </div>
</div>
</div><!-- end enclosure -->


<p><br /><div><br /></div></p>   <p style="clear:both;"> 
    <a href="http://liquidbird.vox.com/library/post/on-the-hillside.html?_c=feed-atom-full#comments">Read and post comments</a>   |   
    <a href="http://www.vox.com/share/6a00e398a78e2400040123ddcbbffd860d?_c=feed-atom-full">Send to a friend</a> 
</p>

                </div>
            ]]>
        </content> 
    <category term="my music" scheme="http://liquidbird.vox.com/tags/my+music/" label="my music" /> 
    </entry> 
    
    <entry>
        <title>가스펠 하나</title>   
        <link rel="alternate" type="text/html" title="가스펠 하나" href="http://liquidbird.vox.com/library/post/%EB%82%B4-%EC%95%88%EC%97%90-%EC%9E%88%EB%8A%94-%EA%B7%B8-%EC%9D%B4%EB%A6%84.html?_c=feed-atom-full" />  
        <link rel="service.post" type="application/atom+xml" title="가스펠 하나" href="http://liquidbird.vox.com/library/post/%EB%82%B4-%EC%95%88%EC%97%90-%EC%9E%88%EB%8A%94-%EA%B7%B8-%EC%9D%B4%EB%A6%84.html?_c=feed-atom-full#comments" /> 
        <link rel="service.edit" type="application/atom+xml" title="가스펠 하나" href="http://www.vox.com/atom/svc=post/asset_id=6a00e398a78e240004011016925ff5860c" />   
        <link rel="enclosure" href="http://a0.vox.com/download/6a00e398a78e2400040110164d8d30860b-pi.mp3" type="audio/mp3" length="1522164" />          <id>tag:vox.com,2009-09-06:asset-6a00e398a78e240004011016925ff5860c</id>
        <published>2009-09-06T17:53:40Z</published>
        <updated>2009-09-06T17:54:16Z</updated>
    
        <author>
            <name>liquidbird</name>
            <uri>http://liquidbird.vox.com/?_c=feed-atom-full</uri>
        </author>
    
        
        <content type="html" xml:base="http://liquidbird.vox.com/?_c=feed-atom-full">
            <![CDATA[
                <div xmlns="http://www.w3.org/1999/xhtml" xmlns:at="http://www.sixapart.com/ns/at">
        <p>가스펠 중에도 좋은 곡들이 많습니다. 이게 벌써 언제적 곡인가.<br />
    
    
    










    
    
    









<div at:enclosure="asset" at:xid="6a00e398a78e2400040110164d8d30860b" at:format="small" at:align="center"
    class="enclosure enclosure-center enclosure-small audio-enclosure" 
     style="text-align: center;">
<div class="enclosure-inner"
    
        style="padding: 9px; border: 1px solid; width: px; margin: 10px auto;"
    >
    <div class="enclosure-list">
        <div class="enclosure-item audio-asset last">
    
            <div class="enclosure-image">
        
                <a href="http://liquidbird.vox.com/library/audio/6a00e398a78e2400040110164d8d30860b.html"><img src="http://a0.vox.com/6a00e398a78e2400040110164d8d30860b-120pi" alt="Thenameinme" title="Thenameinme" /></a>
        
            </div>
            <div class="enclosure-meta">
                <div class="enclosure-asset-name"><a href="http://liquidbird.vox.com/library/audio/6a00e398a78e2400040110164d8d30860b.html" title="Thenameinme">Thenameinme</a></div>
            </div>
    
        </div>
    </div>
</div>
</div><!-- end enclosure -->

<br /> <div><br /></div></p>   <p style="clear:both;"> 
    <a href="http://liquidbird.vox.com/library/post/%EB%82%B4-%EC%95%88%EC%97%90-%EC%9E%88%EB%8A%94-%EA%B7%B8-%EC%9D%B4%EB%A6%84.html?_c=feed-atom-full#comments">Read and post comments</a>   |   
    <a href="http://www.vox.com/share/6a00e398a78e240004011016925ff5860c?_c=feed-atom-full">Send to a friend</a> 
</p>

                </div>
            ]]>
        </content> 
    </entry> 
    
    <entry>
        <title>google code jam 문제 하나 풀어봅시다 - 풀이편</title>   
        <link rel="alternate" type="text/html" title="google code jam 문제 하나 풀어봅시다 - 풀이편" href="http://liquidbird.vox.com/library/post/google-code-jam-%EB%AC%B8%EC%A0%9C-%ED%95%98%EB%82%98-%ED%92%80%EC%96%B4%EB%B4%85%EC%8B%9C%EB%8B%A4---%ED%92%80%EC%9D%B4%ED%8E%B8.html?_c=feed-atom-full" />  
        <link rel="service.post" type="application/atom+xml" title="google code jam 문제 하나 풀어봅시다 - 풀이편" href="http://liquidbird.vox.com/library/post/google-code-jam-%EB%AC%B8%EC%A0%9C-%ED%95%98%EB%82%98-%ED%92%80%EC%96%B4%EB%B4%85%EC%8B%9C%EB%8B%A4---%ED%92%80%EC%9D%B4%ED%8E%B8.html?_c=feed-atom-full#comments" /> 
        <link rel="service.edit" type="application/atom+xml" title="google code jam 문제 하나 풀어봅시다 - 풀이편" href="http://www.vox.com/atom/svc=post/asset_id=6a00e398a78e2400040110164c5f63860b" />          <id>tag:vox.com,2009-09-04:asset-6a00e398a78e2400040110164c5f63860b</id>
        <published>2009-09-04T01:16:21Z</published>
        <updated>2009-09-04T06:57:50Z</updated>
    
        <author>
            <name>liquidbird</name>
            <uri>http://liquidbird.vox.com/?_c=feed-atom-full</uri>
        </author>
    
        
        <content type="html" xml:base="http://liquidbird.vox.com/?_c=feed-atom-full">
            <![CDATA[
                <div xmlns="http://www.w3.org/1999/xhtml" xmlns:at="http://www.sixapart.com/ns/at">
        <p>단어의 글자수는 3이고, 사전의 표제어는 다음과 같이 5개 있는 경우를 예로 들겠습니다.<br />사전에 몇 번 등장하는지 찾아야 할 대상 단어들 (이하 &#39;문제단어&#39;로 호칭) 은 2개라고 하겠습니다.</p><p>[사전의 표제어들]<br />abd<br />aed<br />efw<br />oli<br />fse</p><p>[사전에 몇 번 나오는지 알아내야 하는 단어들 = 문제단어들]<br />uiw<br />a(bel)(irdxq)</p><p><br />이제 uiw 과 a(bel)(irdxq) 가 각각 사전의 표제어에 몇 번씩 일치되는지를 알아내면 끝입니다.<br />답은 다음 형식으로 출력하면 됩니다. (XXX, YYY는 각각 사전에 등장한 횟수)<br />case #1 : XXX<br />case #2 : YYY</p><p><br /><span style="color: #3075fb"><strong>1. 망하는 풀이</strong></span></p><p>사람이 사전을 찾을 때와 같은 식으로 푸는 방법입니다.</p><p>- 문제단어 각각에 대해<br />&#160;- 사전의 표제어들 각각과 일치하는지 검사하여&#160; 일치하면 일치횟수를 1 증가시킴<br />
- 일치횟수를 출력</p><p>먼저 case #1 (즉 단어 &#39;uiw&#39;) 의 경우는 간단합니다.</p><p>문제단어 &#39;uiw&#39;가 사전의 첫번째 표제어 &#39;abd&#39;와 일치하는지 검사하면 일치하지 않으니까 그냥 넘어가고, 사전의 두번째 표제어 &#39;aed&#39;와 일치하는지 검사하여 또 일치하지 않으니 그냥 넘어가고, ..., 마지막 표제어 &#39;fse&#39;와도 일치하지 않으니 넘어가고, 더이상 사전에 표제어가 없으면 끝입니다.<br />한번도 일치하지 않았으니까 일치횟수는 0이군요.</p><p>여기까진 문제가 없습니다.</p><p>다음 case #2 ( 단어 a(bel)(irdxq) ) 의 경우는 이런 방식으로 하면 다음과 같이 하게 됩니다.</p><p>문제단어가 확정된 것이 아니라 &#160; a(bel)(irdxq)&#160;&#160; 와 같이 여러 단어가 될 가능성이 있으므로 이를 풀어 보면 다음과 같은 단어조합이 가능합니다.</p><p>abi<br />abr<br />abd<br />abx<br />abq<br />aei<br />aer<br />aed<br />aex<br />aeq<br />ali<br />alr<br />ald<br />alx<br />alq</p><p>1*3*5 = 15개의 조합이 나왔습니다. 문제단어 a(bel)(irdxq) 는 표현상으로는 1개의 단어처럼 보이지만 실제로는 15개의 단어가 될 가능성을 가지는 것입니다.</p><p>이제 다음 풀이 방법을 적용시켜 보자면</p><p>- 문제단어 각각에 대해<br />
&#160;- 사전의 표제어들 각각과 일치하는지 검사하여&#160; 일치하면 일치횟수를 1 증가시킴<br />

- 일치횟수를 출력</p><p>문제단어 각각에 대해 사전 표제어 각각과 일치하는지 검사해야 하는데, 앞에서 문제단어가 1개가 아니라 15개가 되어 버렸습니다.</p><p>따라서</p><p>- 15개의 문제단어 각각에 대해<br />&#160;- 사전의 5개의 표제어들 각각과 일치하는지 검사하여 일치하면 일치횟수를 1 증가시킴<br />- 일치횟수를 출력</p><p>과 같이 계산해야 하므로, case #1에서 1개의 문제단어에 대해 사전의 5개의 표제어와 일치검사시에는 1*5=5번의 계산만 수행하면 되었던 것에 비해서 이번에는 15*5=75번의 계산이 필요합니다.</p><p>75번의 계산을 수행하면 결과는 &#39;2회 일치&#39;라는 것을 알 수 있습니다.<br />이 정도 표제어 수와 이 정도 조합의 단어까지는, 사람의 눈으로 보면 바로 몇 개가 일치하는지 보이죠.</p><p>이 정도까진 그냥 하면 되지 않냐 할 수 있는데, 단어의 길이가 10이고 문제단어가 다음과 같은 경우를 생각해 봅시다.</p><p>(qweasdzxcv)(poiuytrewq)(afdgs)(eydhcn)o(ethi)(bnvn)(asdfghjklm)(yt)(ghfjdk)<br />10 * 10 * 5 * 6 * 1 * 4 * 4 * 10 * 2 * 6 = 5,760,000</p><p>문제단어 1개가 실제로는 오백 칠십 육만개의 단어조합을 나타냅니다.<br /><strong>조합을 만들 때 가능한 경우의 수는 곱하기로 늘어나기 때문에 걷잡을 수 없이 커집니다.</strong><br />이런 문제단어가 1000개라면? 오십 칠억 육천만개의 단어조합이 되지요.<br />그리고 사전의 표제어가 1000개라면? 오십칠억육천만 * 1000 번의 계산이 필요합니다.</p><p>계산할 수는 있겠지만 시간이 얼마나 걸릴지 알 수 없습니다. 그래서 망하는 풀이입니다.</p><p><br /><span style="color: #3366ff"><strong>2. 진짜 풀이</strong></span></p><p>우선 문제를 다시 정리해 보죠.</p><p>다시 사전의 표제어를 살펴보겠습니다.</p><p>abd<br />
aed<br />
efw<br />
oli<br />
fse
</p><p>그리고 문제단어들입니다.</p><p>
uiw<br />
a(bel)(irdxq)</p><p>case#2 인 단어 &#39;a(bel)(irdxq)&#39; 의 경우 다음과 같은 문제단어조합이 나오고, 이 중에 표제어와 일치하는 것은 abd와 aed의 2 개입니다.</p><p>abi<br />
abr<br />
<strong>abd</strong><br />
abx<br />
abq<br />
aei<br />
aer<br />
<strong>aed</strong><br />
aex<br />
aeq<br />
ali<br />
alr<br />
ald<br />
alx<br />
alq</p><p>그럼 이번엔 이렇게 풀어보겠습니다.</p><p>- 사전의 각 표제어에 대해서<br />&#160;- 문제단어와 일치하는지 검사하여 일치하면 일치횟수를 1 증가시킴</p><p>case #1은 뻔하니까 case #2 에 대해 풀어봅시다.</p><p>1) 1번째 사전 표제어 &#39;abd&#39; 가 문제단어 &#39;a(bel)(irdxq)&#39; 와 일치하는지를 검사.<br />&#160;&#160;&#160; - 첫번째 글자는 &#39;a&#39;로 같으니까 OK<br />&#160;&#160;&#160; - 두번째 글자는 사전표제어 &#39;b&#39; 가 문제단어의 &#39;두번째 글자로 가능한 글자들 (bel)&#39; 에 포함되니까 OK<br />&#160;&#160;&#160; - 세번째 글자는 사전표제어 &#39;d&#39; 가 문제단어의 &#39;세번째 글자로 가능한 글자들 (irdxq)&#39; 에 포함되니까 OK<br />&#160;&#160;&#160; - 마지막 글자까지 모두 일치했으니까 일치횟수 1 증가<br />2) 2번째 사전 표제어 &#39;aed&#39; 가 문제단어 &#39;a(bel)(irdxq)&#39; 와 일치하는지를 검사.<br />&#160;&#160;&#160; - 풀이는 똑같으니 생략함. 마지막 글자까지 모두 일치하니까 일치횟수는 또 1 증가하여 2가 됨.<br />3) 3번째 사전 표제어 &#39;efw&#39;가 문제단어 &#39;a(bel)(irdxq)&#39; 와 일치하는지를 검사.<br />&#160;&#160;&#160; - 첫번째 글자가 &#39;e&#39;와 &#39;a&#39;로 서로 다르니까 FAIL<br />&#160;&#160;&#160; - 두번째 글자부터는 볼 필요 없음<br />4) 4번째 사전 표제어 &#39;oli&#39;가 ....<br />&#160;&#160;&#160; - 풀이 생략. FAIL<br />5) 5번째 사전 표제어 &#39;fse&#39;가 ...<br />&#160;&#160;&#160; - 풀이 생략. FAIL</p><p>이와 같이 계산하여, case#2의 단어는 모든 사전 표제어에 대해 2번 일치함을 구했습니다.</p><p>이 경우에는 단어의 글자수가 늘어나고, 사전의 표제어 수가 많아지고, 문제단어 수가 많아져도 조합을 만들지 않기 때문에 소요시간이 기하급수적으로 증가하지 않습니다.</p><p>즉 이 문제 풀이의 핵심은 &#39;<strong>조합을 만들지 않는 것</strong>&#39; 에 있습니다.</p><p><br />좀 더 구체적인 사항으로는, 각 과정에서 다음과 같은 계산을 할 때<br />&#160; [ 사전표제어의 두번째 글자인 &#39;b&#39;가 문제단어의 두번째 글자로 가능한 (bel) 에 포함되는지 검사 ]<br />어떤 방법으로 검사하느냐에 따라 속도 차이가 납니다.</p><p>예를 들어&#160; 글자 &#39;a&#39; 가&#160; (guiwpzanbmxc) 에 포함되는지를 검사할 때,&#160; (guiwpzanbmxc) 의 각 글자에 대해 a와 일치하는지를 순차적으로 검사할 수도 있습니다.<br />&#160; - &#39;g&#39;가 &#39;a&#39;와 같은지 검사하여 아니니까 그룹 안의 다음 글자 &#39;u&#39;로 넘어가고<br />&#160; - &#39;u&#39;가 &#39;a&#39;와 같은지 검사하여 아니니까 그룹 안의 다음 글자 &#39;i&#39;로 넘어가고<br />&#160; - ...<br />&#160; - &#39;z&#39;가 &#39;a&#39;와 같은지 검사하여 아니니까 그룹 안의 다음 글자 &#39;a&#39;로 넘어가고<br />&#160; - &#39;a&#39;가 &#39;a&#39;와 같은지 검사하여 같으니까 이번 그룹에 대해서는 일치한다고 판단.</p><p>이렇게 검사하면, 괄호 안의 글자들 중 a의 위치에 따라 계산속도가 달라집니다. a가 처음에 나오면 바로 일치한다고 판단할 것이고, 맨 마지막에 나오면 그때까지 계산을 반복해야 합니다.</p><p>이렇게 하지 않으려면 (guiwpzanbmxc) 를 그냥 텍스트나 배열로 만들어서 순차적으로 비교하는 것이 아니라, 다음과 같이 hash ( = map ) 의 형태로 만들어 놓고<br />&#160;&#160; { &#39;g&#39; =&gt; 1, &#39;u&#39; =&gt; 1, ... , &#39;c&#39; =&gt; 1 }<br />이 hash가 &#39;a&#39;라는 key를 가지는지 아닌지를 판단하면 됩니다.<br />( 이때 value는 뭐든 상관없습니다. value를 찾는 것이 목적이 아니라 해당 key가 존재하는가만 이용합니다. )<br />hash는 내부적으로 key를 빨리 찾기 위한 최적화된 자료구조를 가지고 있기 때문에 순차적인 계산을 수행하지 않으며, 그룹 내의 글자수가 많아져도 빨리 찾을 수가 있습니다.</p><p>예를 들어 hash가 내부적으로 b*tree로 이루어져 있을 경우, (abcdefghijklmnopqrstuvwxyz) 라는 26개의 글자를 가지는 그룹의 각 글자를 hash의 key로 만든 hash&#160; 안에 &#39;q&#39;가 있는지 없는지를 찾는 경우<br />&#160;- 1번째 계산 : 2개로 분리된 그룹들 (13개 / 13개) 중 q가 속할 수 있는 그룹이 선택됨<br />&#160;- 2번째 계산 : q가 속할 가능성이 있는 그룹이 다시 2개로 분리 (6개 / 7개) 되어 이 중 다시 q가 속할 수 있는 그룹이 선택됨<br />&#160;- 3번째 계산 : 다시 2개로 분리 (3개 / 4개) 되어 이 중 q가 속할 수 있는 그룹이 선택됨<br />&#160;- 4번째 계산 : 다시 2개로 분리 (2개 / 2개) 되어 이 중 q가 속할 수 있는 그룹이 선택됨<br />&#160;- 5번째 계산 : 마지막으로 분리된 글자수 2개의 그룹에 q가 있는지 검사.<br />이와 같은 식으로 처리됩니다.</p><p>이 방법의 좋은 점은, 그룹 내의 글자수가 100개 증가해도 계산해야 하는 횟수가 100번 증가하는 게 아니라는 점이지요.</p><p></p><p></p><p><br />여튼 이런 생각을 프로그램으로 만들면 다음과 같이 됩니다. (사실 후딱 짜고 나서 정리한 거지만) 딱 100줄이네요.<br />변수의 scope를 따져서 reference를 서브루틴으로 넘기거나 이런 건 하지 않았습니다. 돌아가는 데 집중한 코드입니다.</p><p>#!/usr/bin/perl</p><p>use strict;<br />use warnings;<br />use FileHandle;</p><p>my $dataFileName = &#39;A-small-attempt0.in&#39;;<br />my @dic;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; # 사전<br />my @message;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; # 사전과 대조해볼 단어들, 즉 case 들<br />my @messageInDicCount; # 각 case 가 사전의 표제어들 중 몇 개와 일치하는지. 프로그램의 목표는 이것을 구하는 것.<br />my $wordLength;&#160;&#160;&#160;&#160;&#160;&#160;&#160; # 단어의 길이. 사전의 표제어이든 사전과 대조해볼 단어든 모든 단어의 길이는 일정함.<br />my $dicEntryTotalNo;&#160;&#160; # 사전에 들어 있는 표제어의 수<br />my $messageTotalNo;&#160;&#160;&#160; # 사전과 대조해볼 단어들의 수</p><p>makeStructure();</p><p>calculate();</p><p>printout();</p><p># 데이터파일을 읽어서 사전과 메시지 데이터구조를 만든다.<br />sub makeStructure {</p><p>&#160;&#160;&#160; my $ifh&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = new FileHandle( $dataFileName, &#39;r&#39; );<br />&#160;&#160;&#160; my $linecount&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 0;<br />&#160;&#160;&#160; my $dicAddedCount&#160;&#160;&#160;&#160; = 0;<br />&#160;&#160;&#160; my $messageAddedCount = 0;</p><p>&#160;&#160;&#160; while (&lt;$ifh&gt;) {</p><p>&#160;&#160;&#160; &#160;&#160;&#160; $linecount++;<br />&#160;&#160;&#160; &#160;&#160;&#160; chomp;<br />&#160;&#160;&#160; &#160;&#160;&#160; my $line = $_;<br />&#160;&#160;&#160; &#160;&#160;&#160; next if $line =~ m| \s* \# |x;<br />&#160;&#160;&#160; &#160;&#160;&#160; next if $line =~ m|^$|;</p><p>&#160;&#160;&#160; &#160;&#160;&#160; if ( $linecount == 1 ) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; ( $wordLength, $dicEntryTotalNo, $messageTotalNo ) = split &#39; &#39;, $line;<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; elsif ( $dicAddedCount &lt; $dicEntryTotalNo ) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; push @{ $dic[$dicAddedCount] }, split &#39;&#39;, $line;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $dicAddedCount++;<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; elsif ( $messageAddedCount &lt; $messageTotalNo ) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; my $position = 0;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; while ( $line =~ m/ ( \(\w+\) | \w ) /xg ) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; my $element = $1;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $element =~ s/\(//;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $element =~ s/\)//;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; my @elArray = split &#39;&#39;, $element;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; for my $el (@elArray) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $message[$messageAddedCount]-&gt;[$position]-&gt;{$el} = 1;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $position++;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $messageAddedCount++;<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; }<br />}</p><p># 메시지 데이터구조 내의 각 메시지건들이 각각 사전의 표제어들 중 몇 개와 일치할 수 있는지를 구한다.<br />sub calculate {</p><p>&#160;&#160;&#160; $messageInDicCount[$_] = 0 for ( 0 .. $#message );</p><p>&#160;&#160;&#160; my $entryNo = 0;<br />&#160;&#160;&#160; for my $entry (@dic) {<br />&#160;&#160;&#160; &#160;&#160;&#160; my $messageNo = 0;<br />&#160;&#160;&#160; &#160;&#160;&#160; for my $message (@message) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; my $letterPosition = 0;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; for my $entryLetter ( @{$entry} ) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; unless (<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; defined(<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $message[$messageNo]-&gt;[$letterPosition]-&gt;{$entryLetter}<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; )<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; )<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; last;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $letterPosition++;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if ( $letterPosition == $wordLength ) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $messageInDicCount[$messageNo]++;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $messageNo++;<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; $entryNo++;<br />&#160;&#160;&#160; }<br />}</p><p>sub printout {</p><p>&#160;&#160;&#160; for my $messageIndex ( 0 .. $#messageInDicCount ) {<br />&#160;&#160;&#160; &#160;&#160;&#160; $messageInDicCount[$messageIndex] = 0<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160; unless defined $messageInDicCount[$messageIndex];<br />&#160;&#160;&#160; &#160;&#160;&#160; print &quot;case #&quot;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160; . ( $messageIndex + 1 )<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160; . &quot; : $messageInDicCount[$messageIndex]\n&quot;;<br />&#160;&#160;&#160; }<br />}</p><p></p><p>그리고 이 프로그램이 돌아갈 때 입력으로 받는 &#39;A-small-attempt0.in&#39; 파일 내용은 다음과 같습니다.</p><p></p><p>10 25 10<br />dheoyyidga<br />ebxfffvhqx<br />yjjpteklgp<br />yjwfawdkal<br />kgmjlupidf<br />feqrtmvgzd<br />vxnrcpqhzq<br />tlyhukdlsh<br />taljrgxoow<br />rjwgdyvtiw<br />ldjjmgvqrq<br />zkqmwjutzj<br />qqsmzvmwqw<br />vbzelmkgce<br />wdqopmxjgw<br />sypnmoiakb<br />xhcwmnkywm<br />esrvhghgsp<br />fmpuzdkkew<br />lbenzsdkqz<br />yxrqsawbjq<br />todikcmums<br />sxtwnuoqeh<br />pdeitylrzu<br />isklduprqc<br />lkbehqyxgf<br />(vzep)bzelmkgce<br />(mrz)(jmg)(vbl)(ac)(zhn)(mqs)(dhj)(qbg)(rux)(yci)<br />(rtgo)(nya)(zhlr)(ijw)(rzch)(vgh)(xado)(vlno)(opfg)(pwd)<br />(uwxyabcdfghijklmoprs)(ghijklmnpqrsuvwxabcdef)(wxyzabcdfgjklmnoprstuv)(knopqrstuvwxyzacdefghij)(cdefghijklmnoqrstuvwxyzab)(jklmnopqruvwzabcdfgi)(tvwxyzabcdfghijkmnopqrs)(pqrstuvxyzabcdefghjklmno)(efghijklmnopqrsuvwxyzbc)(abcefhijklmnopstuvwxy)<br />(wxzacdefhijklmnopqrsv)(klnopqrstuvwxyabcdfghi)(rstuvwxyabcdefgijlmnopq)(yzabdefghijklopqstvwx)(yzbcdefghijklmnopqrstuvwx)(wyzabcefghjklmnopqrstuv)(qrstuvwxzabcefhikmnp)(oprstuwxyzabcdfghijkmn)(xyzabcdefghijklmnoprsuvw)(klmnopqrstuxzabcdefghj)<br />(nuxy)(zerx)(raeh)(cdqs)(stbl)(sap)(djnw)(bdlq)(bejo)(qzd)<br />(stuvwxyzabcdefghiklmnopq)(stuvwxyzacdefghjlmnopq)(bcdefgijklmopqrstuvwyza)(xyzbcdefghiklmnpqrstvw)(qrstuvwxyzabcdfgijklmno)(ijklmnopqrsvwxyabcdfg)(gijklmopqrstuvwxyzacef)(abdefghijkmnopqrstuvwxyz)(abdefghijlnopqrstuvwxy)(ghijnoqrstuwxyzabcdef)<br />(fgku)(kmno)(pwbk)(ua)(zdim)(ydps)(koqy)(ahkn)(kvye)(adjw)<br />(tuwxyzabcdefghijklmnopqrs)(ghkmnopqtuvwxyzabcdef)(rstuvwxzacdeghijkmnoq)(lmopqstuvwxyzabdfghik)(bcdefghjklmnopqrstuvwxy)(ghijklmopqrstuvwxyzacdef)(xyzabcdefghiklmnpqrstvw)(stuvwxyzacdefghijklmnoqr)(tuvyabdefghjklmnopqs)(xyzabcdfgjklmnopqrtuvw)</p><p></p><p>프로그램의 수행 결과는 다음과 같습니다.</p><p>case #1 : 0<br />case #2 : 1<br />case #3 : 0<br />case #4 : 1<br />case #5 : 3<br />case #6 : 4<br />case #7 : 1<br />case #8 : 2<br />case #9 : 1<br />case #10 : 3</p><p></p><p><br />실제 code jam의 문제는, 입력파일이 이렇게 작지 않고<br />&#160;- 단어의 글자수는 15<br />&#160;- 사전의 표제어는 5000개<br />&#160;- 문제단어는 500개<br />입니다. </p><p>예를 들어 문제단어 하나가 이런 식입니다.</p><p>(xyabdefghiklnopqrstuvw)(tuvxyzabcdefijklmnopq)(yzacdefghijklmnopqrstuvx)(bcdfghiklmnopqrstuvxyza)(pqrstuvwxyzabdefghijklmno)(pqrsuvwxyzbcdeghijkmno)(rstuvxyabcdefijklmnopq)(jklmnopqstuvwxyzabcdegh)(cdefgijklmopqrstuvwxyza)(hjklmopqrstuvwxyzabcdefg)(wxyzabcdefgiklmnoqrsuv)(npqrstvwxyzabcdefghijklm)(efghjklmnopqrstvwxyzabcd)(xyzabcefghijklnopqrstuvw)(opqrstuvwxyzacdghijklmn)</p><p>이런 게 500개니까, 망하는 방법으로 풀면 언제 끝날 지 알 수 없겠지요.</p><p><br />여튼 요점은, &#39;<strong>노가다도 잘 해야 한다</strong>&#39; 입니다.</p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p>&#160;</p><p></p><p></p><p></p><p></p><p></p><p><br /></p>   <p style="clear:both;"> 
    <a href="http://liquidbird.vox.com/library/post/google-code-jam-%EB%AC%B8%EC%A0%9C-%ED%95%98%EB%82%98-%ED%92%80%EC%96%B4%EB%B4%85%EC%8B%9C%EB%8B%A4---%ED%92%80%EC%9D%B4%ED%8E%B8.html?_c=feed-atom-full#comments">Read and post comments</a>   |   
    <a href="http://www.vox.com/share/6a00e398a78e2400040110164c5f63860b?_c=feed-atom-full">Send to a friend</a> 
</p>

                </div>
            ]]>
        </content> 
    <category term="programming" scheme="http://liquidbird.vox.com/tags/programming/" label="programming" /> 
    <category term="algorithm" scheme="http://liquidbird.vox.com/tags/algorithm/" label="algorithm" /> 
    <category term="code jam" scheme="http://liquidbird.vox.com/tags/code+jam/" label="code jam" /> 
    </entry> 
    
    <entry>
        <title>google code jam 문제 하나 풀어봅시다</title>   
        <link rel="alternate" type="text/html" title="google code jam 문제 하나 풀어봅시다" href="http://liquidbird.vox.com/library/post/google-code-jam-%EB%AC%B8%EC%A0%9C-%ED%95%98%EB%82%98-%ED%92%80%EC%96%B4%EB%B4%85%EC%8B%9C%EB%8B%A4.html?_c=feed-atom-full" />  
        <link rel="service.post" type="application/atom+xml" title="google code jam 문제 하나 풀어봅시다" href="http://liquidbird.vox.com/library/post/google-code-jam-%EB%AC%B8%EC%A0%9C-%ED%95%98%EB%82%98-%ED%92%80%EC%96%B4%EB%B4%85%EC%8B%9C%EB%8B%A4.html?_c=feed-atom-full#comments" /> 
        <link rel="service.edit" type="application/atom+xml" title="google code jam 문제 하나 풀어봅시다" href="http://www.vox.com/atom/svc=post/asset_id=6a00e398a78e240004011016910b7f860c" />          <id>tag:vox.com,2009-09-03:asset-6a00e398a78e240004011016910b7f860c</id>
        <published>2009-09-03T17:06:10Z</published>
        <updated>2009-09-03T17:09:12Z</updated>
    
        <author>
            <name>liquidbird</name>
            <uri>http://liquidbird.vox.com/?_c=feed-atom-full</uri>
        </author>
    
        
        <content type="html" xml:base="http://liquidbird.vox.com/?_c=feed-atom-full">
            <![CDATA[
                <div xmlns="http://www.w3.org/1999/xhtml" xmlns:at="http://www.sixapart.com/ns/at">
        <p><br />구글에서 code jam이라고, 문제를 내면 풀이를 프로그램으로 만들어서 제출하는 것을 1단계 2단계... 서바이벌식으로 하는 대회 같은 게 있나 봅니다. 전 참가신청을 해서 한 것은 아니고 팀 동료가 하길래 옆에서 문제 보고 재밌어 보여서 풀어 봤습니다.</p><p>일단 문제는 다음과 같은데요.</p><p><br />

<p class="MsoNormal" style="text-align: left; background: white none repeat scroll 0% 0%; text-align: left; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; vertical-align: top;"><span lang="EN-US" style="font-size: 13pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;">Problem</span></p>

<p class="MsoNormal" style="text-align: left; background: white none repeat scroll 0% 0%; text-align: left; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; vertical-align: top;"><span lang="EN-US" style="font-size: 12pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;">After years of study, scientists
at Google Labs have discovered an alien language transmitted from a faraway
planet. The alien language is very unique in that every word consists of
exactly <strong>L</strong> lowercase letters. Also, there are exactly <strong>D</strong> words in
this language.</span></p>

<p class="MsoNormal" style="text-align: left; background: white none repeat scroll 0% 0%; text-align: left; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; vertical-align: top;"><span lang="EN-US" style="font-size: 12pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;">Once the dictionary of all the
words in the alien language was built, the next breakthrough was to discover
that the aliens have been transmitting messages to Earth for the past decade.
Unfortunately, these signals are weakened due to the distance between our two
planets and some of the words may be misinterpreted. In order to help them
decipher these messages, the scientists have asked you to devise an algorithm
that will determine the number of possible interpretations for a given pattern.</span></p>

<p class="MsoNormal" style="text-align: left; background: white none repeat scroll 0% 0%; text-align: left; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; vertical-align: top;"><span lang="EN-US" style="font-size: 12pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;">A pattern consists of exactly <strong>L</strong>
tokens. Each token is either a single lowercase letter (the scientists are very
sure that this is the letter) or a group of unique lowercase letters surrounded
by parenthesis ( and ). For example: (ab)d(dc) means the first letter is either
a or b, the second letter is definitely d and the last letter is either d or c.
Therefore, the pattern (ab)d(dc) can stand for either one of these 4
possibilities: add, adc, bdd, bdc.</span></p>

<p class="MsoNormal" style="text-align: left; background: white none repeat scroll 0% 0%; text-align: left; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; vertical-align: top;"><span lang="EN-US" style="font-size: 13pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;">Input</span></p>

<p class="MsoNormal" style="text-align: left; background: white none repeat scroll 0% 0%; text-align: left; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; vertical-align: top;"><span lang="EN-US" style="font-size: 12pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;">The first line of input contains
3 integers, <strong>L</strong>, <strong>D</strong> and <strong>N</strong> separated by a space. <strong>D</strong>
lines follow, each containing one word of length <strong>L</strong>. These are the words
that are known to exist in the alien language. <strong>N</strong> test cases then follow,
each on its own line and each consisting of a pattern as described above. You
may assume that all known words provided are unique.</span></p>

<p class="MsoNormal" style="text-align: left; background: white none repeat scroll 0% 0%; text-align: left; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; vertical-align: top;"><span lang="EN-US" style="font-size: 13pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;">Output</span></p>

<p class="MsoNormal" style="text-align: left; background: white none repeat scroll 0% 0%; text-align: left; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; vertical-align: top;"><span lang="EN-US" style="font-size: 12pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;">For each test case, output </span></p>

<p class="MsoNormal" style="text-align: left; margin: 24pt 102pt 24pt 204pt; background: whitesmoke none repeat scroll 0% 0%; text-align: left; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; vertical-align: top;"><span lang="EN-US" style="font-size: 11pt; font-family: &quot;Courier New&quot;; color: black;">Case
#<strong>X</strong>: <strong>K</strong></span></p>

<p class="MsoNormal" style="text-align: left; background: white none repeat scroll 0% 0%; text-align: left; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; vertical-align: top;"><span lang="EN-US" style="font-size: 12pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;">where
<strong>X</strong> is the test case number, starting from 1, and <strong>K</strong> indicates how
many words in the alien language match the pattern. </span></p>

<p class="MsoNormal" style="text-align: left; background: white none repeat scroll 0% 0%; text-align: left; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; vertical-align: top;"><span lang="EN-US" style="font-size: 12pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;">&#160;</span></p>

<p class="MsoNormal" style="text-align: left; background: white none repeat scroll 0% 0%; text-align: left; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; vertical-align: top;"><span lang="EN-US" style="font-size: 13pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;">Limits</span></p>

<p class="MsoNormal" style="text-align: left; background: white none repeat scroll 0% 0%; text-align: left; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; vertical-align: top;"><span lang="EN-US" style="font-size: 13pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;">Small dataset</span></p>

<p class="MsoNormal" style="text-align: left; background: white none repeat scroll 0% 0%; text-align: left; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; vertical-align: top;"><span lang="EN-US" style="font-size: 12pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;">1 ≤ <strong>L</strong> ≤ 10<br />
1 ≤ <strong>D</strong> ≤ 25<br />
1 ≤ <strong>N</strong> ≤ 10</span></p>

<p class="MsoNormal" style="text-align: left; background: white none repeat scroll 0% 0%; text-align: left; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; vertical-align: top;"><span lang="EN-US" style="font-size: 13pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;">Large dataset</span></p>

<p class="MsoNormal" style="text-align: left; background: white none repeat scroll 0% 0%; text-align: left; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; vertical-align: top;"><span lang="EN-US" style="font-size: 12pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;">1 ≤ <strong>L</strong> ≤ 15<br />
1 ≤ <strong>D</strong> ≤ 5000<br />
1 ≤ <strong>N</strong> ≤ 500</span></p>

<p class="MsoNormal" style="text-align: left; background: white none repeat scroll 0% 0%; text-align: left; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; vertical-align: top;"><span lang="EN-US" style="font-size: 13pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;">Sample</span></p>

<table class="MsoNormalTable" style="border-collapse: collapse;">
 <tbody><tr style="">
  <td style="padding: 0cm 12pt;" valign="top">
  <p class="MsoNormal" style="text-align: left; text-align: left;"><span lang="EN-US" style="font-size: 12pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;"><br />
  Input <br />
  &#160; </span></p>
  </td>
  <td style="padding: 0cm 12pt;" valign="top">
  <p class="MsoNormal" style="text-align: left; text-align: left;"><span lang="EN-US" style="font-size: 12pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;"><br />
  Output <br />
  &#160; </span></p>
  </td>
 </tr>
 <tr style="">
  <td style="padding: 0cm 12pt;" valign="top">
  <p class="MsoNormal" style="text-align: left; text-align: left;"><span lang="EN-US" style="font-size: 12pt; font-family: &quot;Courier New&quot;; color: black;">3 5 4<br />
  abc<br />
  bca<br />
  dac<br />
  dbc<br />
  cba<br />
  (ab)(bc)(ca)<br />
  abc<br />
  (abc)(abc)(abc)<br />
  (zyx)bc</span><span lang="EN-US" style="font-size: 12pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;"></span></p>
  </td>
  <td style="padding: 0cm 12pt;" valign="top">
  <p class="MsoNormal" style="text-align: left; text-align: left;"><span lang="EN-US" style="font-size: 12pt; font-family: &quot;Courier New&quot;; color: black;">Case #1: 2<br />
  Case #2: 1<br />
  Case #3: 3<br />
  Case #4: 0</span><span lang="EN-US" style="font-size: 12pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;"></span></p>
  </td>
 </tr>
</tbody></table>

</p><p></p><p>뭐 머나먼 행성에서 수신된 외계인의 언어가 어쩌고 하는 귀신 씨나락 까먹는 소리로 시작하는데 이런건 그냥 제끼고 간단히 정리하면 다음과 같습니다.</p><p>1) &#39;단어&#39;는 다음과 같이 모든 글자가 분명한 경우도 있고, 단어에 대한 정보가 불충분하여 일부/전부의 글자가 불분명할 수 있습니다. 하지만 어떤 경우에도 모든 단어의 글자수는 동일합니다.<br />&#160;- 모든 글자가 분명한 경우의 단어 예 : abc , agh, dac 등등<br />&#160;- 일부/전부의 글자가 불분명한 경우의 단어 예 : (ab)(bc)a , (ds)(gw)(fd) , h(xr)g<br />&#160;&#160; * 괄호는 그 안의 글자들 중 하나라는 뜻으로서, (ab)(bc)a 는 다음과 같은 4 경우가 다 될 수 있다는 이야기입니다.<br />&#160;&#160;&#160;&#160; : aba, aca, bba, bca</p><p>2) &#39;사전&#39;은 다음과 같이 모든 글자가 분명한 단어들의 모음입니다. 사전의 모든 단어의 글자수는 위와 마찬가지로 동일합니다.<br />&#160;: abg, fwg, svc, sfe</p><p>3) 입력 파일 (우리가 이걸 가지고 문제를 풀어야 함) 은 다음과 같은 형식입니다.</p><p><span lang="EN-US" style="font-size: 12pt; font-family: &quot;Courier New&quot;; color: black;">3 5 4<br />
  abc<br />
  bca<br />
  dac<br />
  dbc<br />
  cba<br />
  (ab)(bc)(ca)<br />
  abc<br />
  (abc)(abc)(abc)<br />
  (zyx)bc</span></p><p>* 첫행의 &#39;3 5 4&#39; 의 의미 :<br />&#160; - 모든 단어의 글자수는 3 (그냥 단어 및 사전 내의 단어 모두 동일)<br />&#160; - 아래에 나열된 단어 중 처음 5개는 사전에 수록된 단어<br />&#160; - 아래에 나열된 단어 중 사전에 있는 단어 뒤에 나오는 4개의 단어는 사전에 등록되어 있는지 아닌지 찾아봐야 하는 단어<br />* 두번째행부터 나오는 다음의 5행은 사전에 있는 5개의 단어를 나타냄. 즉 사전의 표제어.<br /><span lang="EN-US" style="font-size: 12pt; font-family: &quot;Courier New&quot;; color: black;">abc<br />
  bca<br />
  dac<br />
  dbc<br />
  cba</span><br />* 그 뒤에 나오는 4행은 이 단어들이 사전에 있는지 없는지 찾아봐야 하는 단어들.<br /><span lang="EN-US" style="font-size: 12pt; font-family: &quot;Courier New&quot;; color: black;">(ab)(bc)(ca)<br />
  abc<br />
  (abc)(abc)(abc)<br />
  (zyx)bc</span></p><p>4) 출력 파일 (우리가 만들어내야 하는 최종 결과) 는 다음과 같은 식입니다.</p><p><span lang="EN-US" style="font-size: 12pt; font-family: &quot;Courier New&quot;; color: black;">Case #1: 2<br />
  Case #2: 1<br />
  Case #3: 3<br />
  Case #4: 0</span></p><p>케이스 #1 : 2 라는 것이 무슨 말인가 하면<br />&#160;- 위 3)의 입력파일에서 사전의 표제어가 아니라 사전에 등재되어 있는지 아닌지 찾아봐야 할 4행이 각각 케이스 #1~#4가 되고<br />&#160;- 그러면 case#1은 (ab)(bc)(ca) 라는 단어가 되는데, 이걸로 가능한 단어의 조합은 사전 표제어들 중 2개와 일치한다는 의미입니다. 즉 (ab)(bc)(ca)로 만들 수 있는 단어 조합은 여러 개가 있는데 이 중 &#39;abc&#39;와 &#39;bca&#39;가 사전에 있는 단어이고 나머지 조합들은 사전에 없습니다. 2개가 사전과 일치하니까 값이 2 입니다.</p><p><br />그래서 최종 목표는, 입력파일을 받아서, 사전에서 찾아봐야 할 단어들 목록 전체에 대해서 사전에 각각 몇 번씩 나오는지를 구하고, 출력파일을 만드는 것입니다.<br />일단 여기까지 문제설명만. 풀이는 code jam 제출마감시간 이후에 올리겠습니다. 저는 참가하지 않았지만, 모범답안은 아니라도 일단 작동하는 답안을 올리면 안되겠죠.</p>   <p style="clear:both;"> 
    <a href="http://liquidbird.vox.com/library/post/google-code-jam-%EB%AC%B8%EC%A0%9C-%ED%95%98%EB%82%98-%ED%92%80%EC%96%B4%EB%B4%85%EC%8B%9C%EB%8B%A4.html?_c=feed-atom-full#comments">Read and post comments</a>   |   
    <a href="http://www.vox.com/share/6a00e398a78e240004011016910b7f860c?_c=feed-atom-full">Send to a friend</a> 
</p>

                </div>
            ]]>
        </content> 
    </entry> 
    
    <entry>
        <title>매우 바쁜 젓가락</title>   
        <link rel="alternate" type="text/html" title="매우 바쁜 젓가락" href="http://liquidbird.vox.com/library/post/%EB%A7%A4%EC%9A%B0-%EB%B0%94%EC%81%9C-%EC%A0%93%EA%B0%80%EB%9D%BD.html?_c=feed-atom-full" />  
        <link rel="service.post" type="application/atom+xml" title="매우 바쁜 젓가락" href="http://liquidbird.vox.com/library/post/%EB%A7%A4%EC%9A%B0-%EB%B0%94%EC%81%9C-%EC%A0%93%EA%B0%80%EB%9D%BD.html?_c=feed-atom-full#comments" /> 
        <link rel="service.edit" type="application/atom+xml" title="매우 바쁜 젓가락" href="http://www.vox.com/atom/svc=post/asset_id=6a00e398a78e2400040110180a8b8f860e" />   
        <link rel="enclosure" href="http://a3.vox.com/download/6a00e398a78e2400040110180a8b83860e-pi.mp3" type="audio/mp3" length="772792" />          <id>tag:vox.com,2009-08-30:asset-6a00e398a78e2400040110180a8b8f860e</id>
        <published>2009-08-30T18:03:10Z</published>
        <updated>2009-08-30T18:03:10Z</updated>
    
        <author>
            <name>liquidbird</name>
            <uri>http://liquidbird.vox.com/?_c=feed-atom-full</uri>
        </author>
    
        
        <content type="html" xml:base="http://liquidbird.vox.com/?_c=feed-atom-full">
            <![CDATA[
                <div xmlns="http://www.w3.org/1999/xhtml" xmlns:at="http://www.sixapart.com/ns/at">
        <p>very busy chop waltz</p>
    
    
    










    
    
    









<div at:enclosure="asset" at:xid="6a00e398a78e2400040110180a8b83860e" at:format="small" at:align="center"
    class="enclosure enclosure-center enclosure-small audio-enclosure" 
     style="text-align: center;">
<div class="enclosure-inner"
    
        style="padding: 9px; border: 1px solid; width: px; margin: 10px auto;"
    >
    <div class="enclosure-list">
        <div class="enclosure-item audio-asset last">
    
            <div class="enclosure-image">
        
                <a href="http://liquidbird.vox.com/library/audio/6a00e398a78e2400040110180a8b83860e.html"><img src="http://a3.vox.com/6a00e398a78e2400040110180a8b83860e-120pi" alt="Busychopstick" title="Busychopstick" /></a>
        
            </div>
            <div class="enclosure-meta">
                <div class="enclosure-asset-name"><a href="http://liquidbird.vox.com/library/audio/6a00e398a78e2400040110180a8b83860e.html" title="Busychopstick">Busychopstick</a></div>
            </div>
    
        </div>
    </div>
</div>
</div><!-- end enclosure -->

<p><br /> <div><br /></div></p>   <p style="clear:both;"> 
    <a href="http://liquidbird.vox.com/library/post/%EB%A7%A4%EC%9A%B0-%EB%B0%94%EC%81%9C-%EC%A0%93%EA%B0%80%EB%9D%BD.html?_c=feed-atom-full#comments">Read and post comments</a>   |   
    <a href="http://www.vox.com/share/6a00e398a78e2400040110180a8b8f860e?_c=feed-atom-full">Send to a friend</a> 
</p>

                </div>
            ]]>
        </content> 
    <category term="my music" scheme="http://liquidbird.vox.com/tags/my+music/" label="my music" /> 
    </entry> 
</feed>


