<?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/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3808810370829755701</id><updated>2014-10-04T22:18:24.213+08:00</updated><category term="C++ e.g"/><category term="zerojudge"/><category term="c++ 理解題"/><category term="Program"/><category term="c++ Maths"/><category term="大學週記"/><category term="Experiment"/><category term="LInksharing"/><category term="Pascal e.g"/><category term="Software"/><category term="News"/><category term="X-code"/><category term="網頁"/><title type='text'>Yuehchow Lab</title><subtitle type='html'>Personal experiment,programming,engineering</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>YUEHCHOW HO</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>171</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-3788210944562069839</id><published>2014-10-04T22:09:00.001+08:00</published><updated>2014-10-04T22:18:24.229+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="大學週記"/><title type='text'>大學週記（四）我們的天空－－My name is HO,YUEHCHOW</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-pkBYDn8nq1A/VC__DZU3alI/AAAAAAAADts/9zg5Iel8Iyg/s1600/IMG_0137.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-pkBYDn8nq1A/VC__DZU3alI/AAAAAAAADts/9zg5Iel8Iyg/s1600/IMG_0137.JPG&quot; height=&quot;297&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;香港的天空（攝於香港中文大學，紫霞樓）&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-FtKfNA7cD90/UDmut_Xe9iI/AAAAAAAAA7c/q4AfjYJ9O2E/s1600/IMAG0058.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-FtKfNA7cD90/UDmut_Xe9iI/AAAAAAAAA7c/q4AfjYJ9O2E/s1600/IMAG0058.jpg&quot; height=&quot;400&quot; width=&quot;238&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;北京的天空（攝於北京吉利大學）&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;text-align: center;&quot;&gt;　　中學的時候某位同學的說話，至今我依然印像深刻：&lt;/span&gt;&lt;span style=&quot;text-align: center;&quot;&gt;「你能找到一份好工，就出乎大家的意料啦。」&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;　　&lt;b&gt;我，多麼想掌握自己的命運啊！！！&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;text-align: center;&quot;&gt;&lt;b&gt;　　&lt;/b&gt;但自己並沒有那麼強大，那麼聰明；這一點，我在中學參與程式設計比賽的時候就知道了。那時候，我在澳門培正中學參加IOI（International Olympiad in Informatics）高階課程，任教的，是一位澳門大學的助理教授（培正校友）。他時常叫我們多些做Coding，練習多些，比賽才能優勝（當然從比賽的角度，我是失敗了，從各種意義上）。&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;　&lt;b&gt;　&lt;/b&gt;對此，我抱有疑問，並當場提出：&lt;b&gt;「即使做再多的練習，智商並不會提高吧？」&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;　　他搔搔頭，說：&lt;b&gt;「應該這樣說，智商，在達到一定水平後，並不特別重要。」&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;　　我並沒有被說服。以快速排序（Quick Sort）舉例，經過思考，我能夠明白為甚麼是它的時間複雜度是N log N。但不能理解，他的作者，是如何憑空想出來這種並不是直線推理的東西（至少對我來說不是）。&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;　　&lt;b&gt;這就是才能的分別吧。&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;　　曾經與澳門高天賜議員有過一席話，他說：&lt;b&gt;「我年輕時的夢想，就是找一個靚女做老婆。好像各位咁。（當時在場，有幾個女生）但理想，總要建築在現實之上。」&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;　　但至少，根據香港中文大學社學會張教授的說法：&lt;b&gt;&lt;i&gt;「Modern的社會，簡單地說，就是可以透過各種途逕而得到社會地位提升的社會。」&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;i&gt;　　&lt;/i&gt;我感到個人的命運，與城市一樣，風雨漂搖，飄搖，飄颻；又或者說，反之亦然？&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;　　唯一感到確定的是，我內面的文化是屬於澳門的。&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;　&lt;i&gt;　&lt;/i&gt;&lt;i&gt;And MY &amp;nbsp;NAME IS HO YUEH CHOW.&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-Eb19IX-js70/VC_-gKokcbI/AAAAAAAADtg/Xqaw3bFWILA/s1600/IMAG0038.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-Eb19IX-js70/VC_-gKokcbI/AAAAAAAADtg/Xqaw3bFWILA/s1600/IMAG0038.jpg&quot; height=&quot;237&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: center;&quot;&gt;澳門的天空（攝於澳門關閘）&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/3788210944562069839/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/10/my-name-is-hoyuehchow.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/3788210944562069839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/3788210944562069839'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/10/my-name-is-hoyuehchow.html' title='大學週記（四）我們的天空－－My name is HO,YUEHCHOW'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-pkBYDn8nq1A/VC__DZU3alI/AAAAAAAADts/9zg5Iel8Iyg/s72-c/IMG_0137.JPG" height="72" width="72"/><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-785179429566460113</id><published>2014-09-28T23:04:00.000+08:00</published><updated>2014-10-04T22:13:30.519+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="大學週記"/><title type='text'>大學週記（三）Little People</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;我們的信念該何去何從？&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-BDGFCr95OfM/VCgi0Q_6zZI/AAAAAAAADf0/gtjlSEX5eiA/s1600/IMG_0010.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-BDGFCr95OfM/VCgi0Q_6zZI/AAAAAAAADf0/gtjlSEX5eiA/s1600/IMG_0010.jpg&quot; height=&quot;320&quot; width=&quot;239&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-V7FVRVk3Xrw/VCgi0SK-rGI/AAAAAAAADf4/OBHCBWKjjus/s1600/IMG_0011.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-V7FVRVk3Xrw/VCgi0SK-rGI/AAAAAAAADf4/OBHCBWKjjus/s1600/IMG_0011.jpg&quot; height=&quot;320&quot; width=&quot;239&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-mguhbAruUik/VCgi0V9ktaI/AAAAAAAADfw/UinGItoY-GI/s1600/IMG_0012.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-mguhbAruUik/VCgi0V9ktaI/AAAAAAAADfw/UinGItoY-GI/s1600/IMG_0012.jpg&quot; height=&quot;320&quot; width=&quot;239&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-9dmys9zSwQI/VCgi1T9FqKI/AAAAAAAADgA/VFgDCT9LEcM/s1600/IMG_0013.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-9dmys9zSwQI/VCgi1T9FqKI/AAAAAAAADgA/VFgDCT9LEcM/s1600/IMG_0013.jpg&quot; height=&quot;320&quot; width=&quot;239&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-PwwdPA1nVog/VCgi1uuh9BI/AAAAAAAADgU/TIAa-4tyPkc/s1600/IMG_0014.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-PwwdPA1nVog/VCgi1uuh9BI/AAAAAAAADgU/TIAa-4tyPkc/s1600/IMG_0014.jpg&quot; height=&quot;320&quot; width=&quot;239&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-7gRluiHwa90/VCgi2G5_bVI/AAAAAAAADgQ/2uYU8s467wY/s1600/IMG_0015.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-7gRluiHwa90/VCgi2G5_bVI/AAAAAAAADgQ/2uYU8s467wY/s1600/IMG_0015.jpg&quot; height=&quot;320&quot; width=&quot;239&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-Duy67yJjA4o/VCgi2bhqKRI/AAAAAAAADgY/IH7anQiwBYE/s1600/IMG_0018.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-Duy67yJjA4o/VCgi2bhqKRI/AAAAAAAADgY/IH7anQiwBYE/s1600/IMG_0018.jpg&quot; height=&quot;320&quot; width=&quot;239&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-LPWT5afZVdQ/VCgi3W9NpZI/AAAAAAAADgo/-slCabdkB30/s1600/IMG_0019.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-LPWT5afZVdQ/VCgi3W9NpZI/AAAAAAAADgo/-slCabdkB30/s1600/IMG_0019.jpg&quot; height=&quot;320&quot; width=&quot;238&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span id=&quot;goog_1073849505&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_1073849506&quot;&gt;&lt;/span&gt;&lt;script charset=&quot;utf-8&quot; src=&quot;http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;//www.youtube.com/embed/Fq6gZBTwPFk&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;//www.youtube.com/embed/qu_FSptjRic&quot; width=&quot;420&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/785179429566460113/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/09/little-people.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/785179429566460113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/785179429566460113'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/09/little-people.html' title='大學週記（三）Little People'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-BDGFCr95OfM/VCgi0Q_6zZI/AAAAAAAADf0/gtjlSEX5eiA/s72-c/IMG_0010.jpg" height="72" width="72"/><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-544487103470121560</id><published>2014-09-21T15:57:00.001+08:00</published><updated>2014-09-23T13:57:36.474+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="大學週記"/><title type='text'>大學週記(二) 我買過最貴的名牌， 是名牌大學。</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/h3&gt;&lt;div&gt;　　不知不知覺，大學已經開學一個月。香港，有香港的忙碌。&lt;script charset=&quot;utf-8&quot; src=&quot;http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;　　舊時不時，耻笑澳門「世界旅遊休閑娛樂中心」的定位。而今回到久違的家中，吹著霎霎的潮濕的海風，遙望對面的珠海，閑情逸致油然而生。在乘巴士回家的時候，經過我的中學，恬靜優美的校園如故。只不過這個舞台上，有另一班人在演繹著不同的舞劇。&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-ITPW_7psx8g/VB6BJQx62uI/AAAAAAAADfY/KSghgEQvais/s1600/1966179_10201706440291014_9142266330225961649_o.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-ITPW_7psx8g/VB6BJQx62uI/AAAAAAAADfY/KSghgEQvais/s1600/1966179_10201706440291014_9142266330225961649_o.jpg&quot; height=&quot;263&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;　&lt;i&gt;What happens in Pui Ching, stays in Pui Ching.&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;　　這個城市，學位不用爭，升大學率接近１００％。不難想像，學士學位在澳門就是一件唾手可得的事情。大家很喜歡在外留學，上內地，去臺灣，出外國留學者眾多。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;　　中學時代的我都一樣，十分雄心壯志。就是要走上一條「不同」的道路，追求一間聲名顯耀的大學。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;　　而相返地，香港人就現實得多。憑分數，揀學校，選科系是潮流。「神科」與「頹科」早有定論。&lt;/div&gt;&lt;div&gt;　　&lt;/div&gt;&lt;div&gt;　　你讀工程？乞食啦！&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;　　許多人都在考慮轉科系的可能性。但我不覺得有任何人把握住了自己的命運，沒人看清下一步棋應該要怎樣下。　&lt;br /&gt;&lt;br /&gt;　　或者我的確喜歡科技給我的新奇感，力量感。但在日新月異的科技浪潮下，與知識免費的網絡時代裡，我所學的東西有幾分價值？&lt;/div&gt;&lt;div&gt;&lt;h3&gt;　　&lt;span style=&quot;background-color: white; font-family: &#39;Source Sans Pro&#39;, Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: small;&quot;&gt;I had no idea what I wanted to do with my life and no idea how college was going to help me figure it out.&lt;span style=&quot;font-weight: normal;&quot;&gt;（&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #575653; font-family: &#39;Source Sans Pro&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;prepared text of the Commencement address delivered by Steve Jobs, CEO of Apple Computer and of Pixar Animation Studios, on June 12, 2005.&amp;nbsp;&lt;/span&gt;&lt;i style=&quot;font-family: &#39;Source Sans Pro&#39;, Verdana, Arial, Helvetica, sans-serif; font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;）&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/544487103470121560/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/09/blog-post_21.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/544487103470121560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/544487103470121560'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/09/blog-post_21.html' title='大學週記(二) 我買過最貴的名牌， 是名牌大學。'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-ITPW_7psx8g/VB6BJQx62uI/AAAAAAAADfY/KSghgEQvais/s72-c/1966179_10201706440291014_9142266330225961649_o.jpg" height="72" width="72"/><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-2835271805942210352</id><published>2014-09-14T19:03:00.001+08:00</published><updated>2014-09-23T13:57:36.470+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="大學週記"/><title type='text'>大學週記（一）胡裏胡塗</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-Si046pwIbaE/VBV1Fco_KFI/AAAAAAAADe4/9YXaIpUSxRA/s1600/IMG_0009.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-Si046pwIbaE/VBV1Fco_KFI/AAAAAAAADe4/9YXaIpUSxRA/s1600/IMG_0009.jpg&quot; height=&quot;400&quot; width=&quot;298&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;　　進入大學是一件非常令人非常迷茫的事。&lt;br /&gt;　　每日東奔西走，通勤的時間占了一日的大部份；胡裹胡塗地又過了一天。&lt;br /&gt;　　在大學裹，大家都很喜歡「夜話」，而似乎「夜話」必備的環節就是「報STATUS」，較不忌諱地分享感情往事（不過通常談到近況時，都會三緘其口）。&lt;br /&gt;　　老實說，中大的靚女不少，走在路上，放眼四周，秀色可餐者，比比皆是。&lt;br /&gt;　　但。&lt;br /&gt;　　A0（Available ＆ Zero love experience）和 NA1 (Not Available &amp;amp; First love) 間的距離並沒有因此而有任何的改變。&lt;br /&gt;　　而連續的夜話、通頂，再加上快餐與零食，帶來的暗瘡更加令人印象深刻。&lt;br /&gt;&lt;b&gt;　　&lt;/b&gt;&lt;br /&gt;&lt;b&gt;　　&lt;/b&gt;&lt;b&gt;What for? I really don&#39;t know.&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;　　Who? When? And more importantly, where?&lt;/b&gt;&lt;br /&gt;&lt;b&gt;　&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div style=&quot;background-color: white; line-height: 22.5px;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;我不能放歌，&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; line-height: 22.5px;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;悄悄是別離的笙簫；&lt;br /&gt;夏蟲也為我沉默，&lt;br /&gt;沉默是今晚的康橋！&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; font-size: 15px; line-height: 22.5px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-TZlel117ULY/VBV1zr871DI/AAAAAAAADfA/np2OH1e_5rE/s1600/IMG_1044.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-TZlel117ULY/VBV1zr871DI/AAAAAAAADfA/np2OH1e_5rE/s1600/IMG_1044.JPG&quot; height=&quot;298&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/2835271805942210352/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/09/blog-post_14.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/2835271805942210352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/2835271805942210352'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/09/blog-post_14.html' title='大學週記（一）胡裏胡塗'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-Si046pwIbaE/VBV1Fco_KFI/AAAAAAAADe4/9YXaIpUSxRA/s72-c/IMG_0009.jpg" height="72" width="72"/><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-1557165687978677623</id><published>2014-09-07T20:19:00.000+08:00</published><updated>2014-09-07T20:19:00.909+08:00</updated><title type='text'>《等一個人咖啡》電影，閹割！！！</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-3GE0KJV-WVM/VAxGQDrw7FI/AAAAAAAADek/xkgsV6HNa9U/s1600/IMG_0005_2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-3GE0KJV-WVM/VAxGQDrw7FI/AAAAAAAADek/xkgsV6HNa9U/s1600/IMG_0005_2.jpg&quot; height=&quot;320&quot; width=&quot;239&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;　　有看過原作的觀衆應該都知道，電影與小說差距相差較大。首先，安不思變成不是搶人女友的拉子了，思螢喜歡的學長變成天使了，學長帶來的女生都不是女友了；思螢&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;被動的&lt;/span&gt;&lt;/b&gt;移情別戀了。九把刀編劇似乎一下子就成功塑造很多正面的形象。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;　　但我覺得這樣&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;並不值得&lt;/span&gt;。&lt;/b&gt;這大概是電影的悲哀吧，九把刀的電影永遠要刪減許多原著裡的情節，或許2小時的電影真的不能企及一本書的厚度。閹割了大學生活，情感的波動和迷惘，衝動與掙扎。只是加入了一些感情戲的鏡頭。用無厘頭的事件去代替小說中的完整，曲折的事件起因。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;　　嗯，中肯的說，這場戲還算是堪看的吧。在音樂的渲染下，感情戲倍有氣氛；加上我懷疑九把刀是受「周星馳電影」的影響，作品終篇帶有無厘頭的風格，連男主角的性格也是無厘頭得一塌糊塗。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;　　嘛，電影到是符合九把刀沒有邊界，小孩式幻想的風格。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;PS：這是一個社交網絡的時代，不得不說，九把刀的宣傳很到位。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;　　&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-cOk60ZIRXAk/VAxGP_eCcrI/AAAAAAAADeg/dmDnN-OLSwQ/s1600/IMG_0008_2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-cOk60ZIRXAk/VAxGP_eCcrI/AAAAAAAADeg/dmDnN-OLSwQ/s1600/IMG_0008_2.jpg&quot; height=&quot;320&quot; width=&quot;239&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;script charset=&quot;utf-8&quot; src=&quot;http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/1557165687978677623/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/09/blog-post_7.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/1557165687978677623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/1557165687978677623'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/09/blog-post_7.html' title='《等一個人咖啡》電影，閹割！！！'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-3GE0KJV-WVM/VAxGQDrw7FI/AAAAAAAADek/xkgsV6HNa9U/s72-c/IMG_0005_2.jpg" height="72" width="72"/><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-7290695424913747235</id><published>2014-08-25T15:54:00.001+08:00</published><updated>2014-08-25T17:18:57.507+08:00</updated><title type='text'>2014 Faculty of Engineering Orientation Camp</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;　　&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-qGdjXIMdWR4/U_rnJrV7yLI/AAAAAAAADeA/g4WPLWEWHAY/s1600/10499433_10204500067286727_1946012212953099192_o.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-qGdjXIMdWR4/U_rnJrV7yLI/AAAAAAAADeA/g4WPLWEWHAY/s1600/10499433_10204500067286727_1946012212953099192_o.jpg&quot; height=&quot;640&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;　　&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;b&gt;　　&lt;/b&gt;直到現在，我也不太明白Ocamp到柢是怎麼一回事，為甚麼要DAM BEAT；我只知道在這一片熱鬧中，我認識了一班「細O mate」；糊裏糊塗地，我的大學就開始了。&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;&amp;nbsp;　　Ocamp是辛苦的。基本上每天集體活動至少會玩到凌晨12點。而在回宿舍後，就要經歷沖涼房爭奪戰；而當你舒舒服服沖完個熱水涼，躺下想睡的時候，Room Game就開始了。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;　　大學的Room Game是可以很殘酷的，我所經歴的有：申報戀愛狀態、男女互評。&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;　　其實去香港，讀得Engineering，我一早就做好心理準備，讀了這麼多年男女混合學校，亦都是時候要經歷下男校的辛酸。誰知一申報之下，過半數的人都聲稱自己是A0(A for available, 0 for zero dating experience)，第二步，就是要夜話自己的愛情史（未輪到我，天已經快亮，所以我的荒唐史繼續封存）。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;　　而男女互評，事實上就是男女互相評價，最符合某項描述的是誰人。因為結果太殘酷，所以就此略過吧。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;　　　Ocamp亦是熱血的。我發現我的&quot;細O MATE&quot;們都是賭徒。CU HUNT放著輕鬆的細TASK不做，一做就是挑戰&lt;b&gt;終極大奬－&lt;/b&gt;與中大九間書院合照。眾所週知中大是一座山，跑九間書院，與跑完整座山差異甚少，所以，呵呵⋯⋯瀕死不是還是未死嘛⋯⋯呵呵⋯⋯&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-xq4oRj0N5ec/U_rlzmjlGZI/AAAAAAAADdE/qHWWs-TPcf4/s1600/IMG-20140817-WA0018.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-xq4oRj0N5ec/U_rlzmjlGZI/AAAAAAAADdE/qHWWs-TPcf4/s1600/IMG-20140817-WA0018.jpg&quot; height=&quot;480&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-PwhSFTGIM0Q/U_rly5BJFlI/AAAAAAAADc8/oc_1EwpyYQw/s1600/IMG-20140817-WA0019.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-PwhSFTGIM0Q/U_rly5BJFlI/AAAAAAAADc8/oc_1EwpyYQw/s1600/IMG-20140817-WA0019.jpg&quot; height=&quot;480&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-VkmCn0-XPpY/U_rlzDJda-I/AAAAAAAADdA/4IEgAa_aS-g/s1600/IMG-20140817-WA0020.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-VkmCn0-XPpY/U_rlzDJda-I/AAAAAAAADdA/4IEgAa_aS-g/s1600/IMG-20140817-WA0020.jpg&quot; height=&quot;480&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/--m5lUpkF7Cg/U_rl0oW6NXI/AAAAAAAADdU/rnW8y15y4x4/s1600/IMG-20140817-WA0030.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/--m5lUpkF7Cg/U_rl0oW6NXI/AAAAAAAADdU/rnW8y15y4x4/s1600/IMG-20140817-WA0030.jpg&quot; height=&quot;480&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-TEyL2wuRNMM/U_rl0-NVJ_I/AAAAAAAADdY/Apq4v4vHMcM/s1600/IMG-20140817-WA0031.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-TEyL2wuRNMM/U_rl0-NVJ_I/AAAAAAAADdY/Apq4v4vHMcM/s1600/IMG-20140817-WA0031.jpg&quot; height=&quot;480&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-R-l9tie3ScA/U_rl1HSBO9I/AAAAAAAADdc/7G64MCVfHo8/s1600/IMG-20140817-WA0033.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-R-l9tie3ScA/U_rl1HSBO9I/AAAAAAAADdc/7G64MCVfHo8/s1600/IMG-20140817-WA0033.jpg&quot; height=&quot;480&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/--zkAFQ7iUqU/U_rl2O008HI/AAAAAAAADds/lNmbGDl7Dg4/s1600/IMG-20140817-WA0034.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/--zkAFQ7iUqU/U_rl2O008HI/AAAAAAAADds/lNmbGDl7Dg4/s1600/IMG-20140817-WA0034.jpg&quot; height=&quot;480&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Times, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-upX7bLQrbn0/U_rl2q_vF_I/AAAAAAAADdw/O7s4AdLeB0I/s1600/IMG-20140817-WA0036.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-upX7bLQrbn0/U_rl2q_vF_I/AAAAAAAADdw/O7s4AdLeB0I/s1600/IMG-20140817-WA0036.jpg&quot; height=&quot;480&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;　　&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;　　此後又迎來了 ，city hunt，水戰⋯⋯&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;　　當你回過神來的時候，整個活動就也要接近尾聲了。整個活動以Engine Night做為高潮。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;　&lt;b&gt;　&lt;/b&gt;這個夜晚，有我與「無盡」。&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;object width=&quot;320&quot; height=&quot;266&quot; class=&quot;BLOG_video_class&quot; id=&quot;BLOG_video-cdeb95f253266fa0&quot; classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;//www.youtube.com/get_player&quot;&gt;&lt;param name=&quot;bgcolor&quot; value=&quot;#FFFFFF&quot;&gt;&lt;param name=&quot;allowfullscreen&quot; value=&quot;true&quot;&gt;&lt;param name=&quot;flashvars&quot; value=&quot;flvurl=http://redirector.googlevideo.com/videoplayback?id%3Dcdeb95f253266fa0%26itag%3D5%26source%3Dblogger%26app%3Dblogger%26cmo%3Dsensitive_content%3Dyes%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1414579827%26sparams%3Dip,ipbits,expire,id,itag,source%26signature%3D56DC9854B4196640A4470C87B069F7EF7E7AE305.79D6BE68A770CABDBD46F1D438EAA3026D6504FC%26key%3Dck2&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3Dcdeb95f253266fa0%26offsetms%3D5000%26itag%3Dw160%26sigh%3DAPz0vn8b5FRRHlk3A2Qxrs1eOQM&amp;amp;autoplay=0&amp;amp;ps=blogger&quot;&gt;&lt;embed src=&quot;//www.youtube.com/get_player&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;320&quot; height=&quot;266&quot; bgcolor=&quot;#FFFFFF&quot; flashvars=&quot;flvurl=http://redirector.googlevideo.com/videoplayback?id%3Dcdeb95f253266fa0%26itag%3D5%26source%3Dblogger%26app%3Dblogger%26cmo%3Dsensitive_content%3Dyes%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1414579827%26sparams%3Dip,ipbits,expire,id,itag,source%26signature%3D56DC9854B4196640A4470C87B069F7EF7E7AE305.79D6BE68A770CABDBD46F1D438EAA3026D6504FC%26key%3Dck2&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3Dcdeb95f253266fa0%26offsetms%3D5000%26itag%3Dw160%26sigh%3DAPz0vn8b5FRRHlk3A2Qxrs1eOQM&amp;autoplay=0&amp;ps=blogger&quot; allowFullScreen=&quot;true&quot; /&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;我的中學生涯在謝師宴用這首歌結束，我的大學生活卻要在這首歌中開始。&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;不能不說我與這首歌有緣份。&lt;span style=&quot;text-align: left;&quot;&gt;期待我的大學生活會是一個明媚的春天。&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: Times, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/7290695424913747235/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/08/2014-faculty-of-engineering-orientation.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/7290695424913747235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/7290695424913747235'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/08/2014-faculty-of-engineering-orientation.html' title='2014 Faculty of Engineering Orientation Camp'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-qGdjXIMdWR4/U_rnJrV7yLI/AAAAAAAADeA/g4WPLWEWHAY/s72-c/10499433_10204500067286727_1946012212953099192_o.jpg" height="72" width="72"/><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-5464452905376033455</id><published>2014-07-20T17:06:00.000+08:00</published><updated>2014-07-20T17:08:56.106+08:00</updated><title type='text'>《第二次初吻》有感</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;　　利申：我不是高登仔，只是恰好高登搞活動送書的時候，回答了問題，獲得贈書而已。&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-MKsymNJ9rAY/U8uE48iuQEI/AAAAAAAADcM/3m_ktGX_we0/s1600/1910003_690820821002273_4640381326083443383_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-MKsymNJ9rAY/U8uE48iuQEI/AAAAAAAADcM/3m_ktGX_we0/s1600/1910003_690820821002273_4640381326083443383_n.jpg&quot; height=&quot;297&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;script charset=&quot;utf-8&quot; src=&quot;http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;　　然後，言歸正傳。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;　　當初，在網路上看了一遍。覺得很有感覺，究其原因，大概也是因為主角是讀香港中文&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;大學的工程系，故事的地圖是熟悉的香港街道和中大校園，而產生的共鳴感。書名很誘人，&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;在讀的時候，感受到主角強烈感情的波瀾起伏（可能是因為代入率高的原故），感情神貌描&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;寫細膩，讓人聯想到自己的故事，自己的Venus。&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;　　遺憾的是，雖然故事到了尾聲顛覆了人物關係的設定，但或是開篇的時候留下的伏筆不&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;够多和巧妙，在通讀的時候或許很爽，但結束時總覺得無法回味，另加上，我不太習慣網路&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;的分段方式（實際上紙版書也是如此分段的），所以獲得紙版書後，剛讀幾頁就覺得不想讀&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;下去。&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;　　我期待的是在清楚結局後，再重讀一遍時，能夠發現更多的東西，巧妙佈局的作品。&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;　　愛情類的小說做不到嗎？&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-inZk0iYLzAA/U8uFUMrGhlI/AAAAAAAADcU/axKyOSmFSCE/s1600/10516857_690820011002354_9216559227960123774_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-inZk0iYLzAA/U8uFUMrGhlI/AAAAAAAADcU/axKyOSmFSCE/s1600/10516857_690820011002354_9216559227960123774_n.jpg&quot; height=&quot;239&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/5464452905376033455/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/07/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/5464452905376033455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/5464452905376033455'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/07/blog-post.html' title='《第二次初吻》有感'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-MKsymNJ9rAY/U8uE48iuQEI/AAAAAAAADcM/3m_ktGX_we0/s72-c/1910003_690820821002273_4640381326083443383_n.jpg" height="72" width="72"/><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-2159888780341881742</id><published>2014-07-09T11:29:00.002+08:00</published><updated>2014-07-22T17:07:26.243+08:00</updated><title type='text'>遊戲人生　No Game No Life </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;　　&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-Dn4UfjiQnm4/U7y2ydlXeGI/AAAAAAAADb0/qKwuHJKuuwo/s1600/10458860_685489224868766_2092759573729719052_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-Dn4UfjiQnm4/U7y2ydlXeGI/AAAAAAAADb0/qKwuHJKuuwo/s1600/10458860_685489224868766_2092759573729719052_n.jpg&quot; height=&quot;298&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;　　&lt;/div&gt;&lt;div&gt;　　神一樣的作品。&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;　　雖然，我是它動漫化後，才開始看的。&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;　　但可以說，這種類型的輕小說，就是我一直所想看的。&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;　　&lt;/div&gt;&lt;div&gt;　　輕鬆吐嘈之餘，華麗的結局大翻轉。雖說也有一些迎合男性幻想的場面，但卻不失深度。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;　　艾爾奇亞和東部聯盟的合併，跟「一國兩制」根本有同工異曲之妙。作者的邏輯嚴密度&lt;br /&gt;&lt;br /&gt;另人歎為觀止。&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;　　雖然對因為涉及政治，而被中國內地禁止出版，毫不意外。但如果因為封禁，而錯過如&lt;br /&gt;&lt;br /&gt;此精妙的動漫社會學設計，就實在是太可惜了。&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;　　棋盤上的世界，故事裡處處體顯博奕論的感覺。雖說，真實人生裡時時刻刻都在計算的&lt;br /&gt;&lt;br /&gt;話，未免太辛苦了。&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;　　期待第六集中文版發售！！！&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/2159888780341881742/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/07/no-game-no-life.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/2159888780341881742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/2159888780341881742'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/07/no-game-no-life.html' title='遊戲人生　No Game No Life '/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-Dn4UfjiQnm4/U7y2ydlXeGI/AAAAAAAADb0/qKwuHJKuuwo/s72-c/10458860_685489224868766_2092759573729719052_n.jpg" height="72" width="72"/><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-2196013053174403964</id><published>2014-06-23T00:42:00.002+08:00</published><updated>2014-06-23T00:42:31.437+08:00</updated><title type='text'>台北行後感（圖不多）</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;　　&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-UcuKqOlzenw/U6cG-CUSE9I/AAAAAAAADbM/d_4_wLuV2cg/s1600/IMAG0054.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-UcuKqOlzenw/U6cG-CUSE9I/AAAAAAAADbM/d_4_wLuV2cg/s1600/IMAG0054.jpg&quot; height=&quot;190&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;　　&lt;/b&gt;這是我第一次前往台灣，在此以前，接觸的只有台灣出版的中譯或華文書籍，和台灣電影。我一直有一個誤解，以為臺北是一個和香港澳門一樣的高密度城市。當然，現實是大錯特錯。&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-KdHcQu0jCUw/U6cCbxFodzI/AAAAAAAADZk/7KO9Mtku9aQ/s1600/IMAG0047.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-KdHcQu0jCUw/U6cCbxFodzI/AAAAAAAADZk/7KO9Mtku9aQ/s1600/IMAG0047.jpg&quot; height=&quot;191&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: center;&quot;&gt;臺北的交流路口&lt;/div&gt;&lt;br /&gt;&lt;div&gt;　　臺灣我所見的地段的樓房都是矮矮的，空氣十分輕新。旅遊的六天都沒聞到香煙的味道。&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-1vvizxTUmIo/U6cG_x0eZXI/AAAAAAAADbU/ERNoa6mlycU/s1600/IMAG0048.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-1vvizxTUmIo/U6cG_x0eZXI/AAAAAAAADbU/ERNoa6mlycU/s1600/IMAG0048.jpg&quot; height=&quot;320&quot; width=&quot;190&quot; /&gt;&lt;/a&gt;&lt;/div&gt;說起來，我們這個旅行組合，真的比較奇葩，別的旅行團可能都是在趕景點，我們卻是在各類書店和電子零件商店中停留的最久。當然，故宮這類東西是不能放過，繼北京故宮之後，再見其本來宮內的真品，才能算是完整。可惜的是，排隊看玉白菜的人實在太多，我們五個人中對藝術興趣濃鬱的人最多只有一個，所以果斷決定離去。&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-8lN95gXWCbg/U6cDFhL6dWI/AAAAAAAADZs/rekxCBy_i5M/s1600/IMG_0526.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-8lN95gXWCbg/U6cDFhL6dWI/AAAAAAAADZs/rekxCBy_i5M/s1600/IMG_0526.jpg&quot; height=&quot;320&quot; width=&quot;239&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;國立故宮博物館&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-C_UcgP4rh8A/U6cEh7mmGHI/AAAAAAAADZ8/jGqopU_V4rY/s1600/IMAG0067.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-C_UcgP4rh8A/U6cEh7mmGHI/AAAAAAAADZ8/jGqopU_V4rY/s1600/IMAG0067.jpg&quot; height=&quot;190&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;　　玩的成份最多的那天大概是去平溪的那天，我們一路搭火車到尾站，然後，再一路玩上去。台北的店鋪都沒有在街道上大聲吆喝的，即使是在景點做遊客生意的也一樣。我們沿著鐵道邊玩樂，途中有一個木製軌道平衡感知訓練用具（說白，就是玩具XD），四個人最後連國中生級都玩不過，說起來還蠻丟臉的。&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-2apZcJMVam4/U6cEstEKFtI/AAAAAAAADaQ/LCTfSkZvefY/s1600/IMAG0076.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-2apZcJMVam4/U6cEstEKFtI/AAAAAAAADaQ/LCTfSkZvefY/s1600/IMAG0076.jpg&quot; height=&quot;320&quot; width=&quot;190&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;　　&lt;/b&gt;去平溪，當然是衝著天燈去的。不過，願望都不好意思寫出來的我，自然就沒有放。嘛，同學有放就好。熱氣球似的天燈，扶遙直上的效果真的很讚。那裡還有電行車（電動摩托車）可以騎，不用駕照。很刺激，因為⋯⋯差點兒出事。&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-Uoina0MByiM/U6cEqhClX1I/AAAAAAAADaE/ZqaCgnxDdBA/s1600/IMAG0075.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-Uoina0MByiM/U6cEqhClX1I/AAAAAAAADaE/ZqaCgnxDdBA/s1600/IMAG0075.jpg&quot; height=&quot;320&quot; width=&quot;190&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-38-UarvxBRQ/U6cEx562KxI/AAAAAAAADac/yznmPBQBOsg/s1600/IMAG0188.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-38-UarvxBRQ/U6cEx562KxI/AAAAAAAADac/yznmPBQBOsg/s1600/IMAG0188.jpg&quot; height=&quot;190&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;十分大瀑布&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-RZv6B0QWZ2I/U6cFGm8h6nI/AAAAAAAADas/HV2mtc80CVI/s1600/IMG_0511.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-RZv6B0QWZ2I/U6cFGm8h6nI/AAAAAAAADas/HV2mtc80CVI/s1600/IMG_0511.jpg&quot; height=&quot;320&quot; width=&quot;238&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;　　&lt;/b&gt;回澳前，最後一站是城品書店。結果⋯⋯只有一句話吧，我們感到知識就是重點，漫步在書海中，第一次有種眩暈的感覺，好像要被吞沒了似的。&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-NnPycAXn5Nw/U6cFFGWA6QI/AAAAAAAADak/XJGLLvmLL-A/s1600/IMG_0532.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-NnPycAXn5Nw/U6cFFGWA6QI/AAAAAAAADak/XJGLLvmLL-A/s1600/IMG_0532.jpg&quot; height=&quot;320&quot; width=&quot;238&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;誠品書店的戰利品&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-tLfmHfMJ_0s/U6cFZAe2O6I/AAAAAAAADa0/yderOdDrIKY/s1600/IMAG0197.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-tLfmHfMJ_0s/U6cFZAe2O6I/AAAAAAAADa0/yderOdDrIKY/s1600/IMAG0197.jpg&quot; height=&quot;190&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;不斷經過的臺北車站&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-4cIjqIVJ2Tk/U6cFd9Yas2I/AAAAAAAADa8/zmKZzxlUVmg/s1600/IMAG0208.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-4cIjqIVJ2Tk/U6cFd9Yas2I/AAAAAAAADa8/zmKZzxlUVmg/s1600/IMAG0208.jpg&quot; height=&quot;320&quot; width=&quot;190&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;傍晚的國立臺灣大學門口&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/2196013053174403964/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/06/blog-post_23.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/2196013053174403964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/2196013053174403964'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/06/blog-post_23.html' title='台北行後感（圖不多）'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-UcuKqOlzenw/U6cG-CUSE9I/AAAAAAAADbM/d_4_wLuV2cg/s72-c/IMAG0054.jpg" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Taipei City, Taiwan</georss:featurename><georss:point>25.091075 121.55983449999997</georss:point><georss:box>24.8609805 121.23711099999997 25.3211695 121.88255799999996</georss:box><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-9001198992338149975</id><published>2014-05-16T21:16:00.001+08:00</published><updated>2014-05-20T17:15:26.898+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++ e.g"/><title type='text'>CUHK CSE PROGAMMING CONTEST, MAY 30 ,2013 PROBLEM A. Big A</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;PDF source&lt;/b&gt;:&lt;a href=&quot;http://appsrv.cse.cuhk.edu.hk/~acmprog/web2008/CSE2013.pdf&quot;&gt;http://appsrv.cse.cuhk.edu.hk/~acmprog/web2008/CSE2013.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A. Big A&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-vzLvCmKy9Dg/U3YOkE4TkmI/AAAAAAAADHY/3IPOcLu0skk/s1600/%E6%8D%95%E8%8E%B72.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-MpNJ-tzWmiI/U3YOkINoVDI/AAAAAAAADHc/8qCU0QeSEdM/s1600/%E6%8D%95%E8%8E%B7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&amp;nbsp;Problem:&lt;/h3&gt;&lt;div&gt;Output an A which has a total height of 2n and a horizontal bar at n+1.&lt;/div&gt;&lt;h3&gt;&lt;/h3&gt;&lt;h3&gt;My solution(untested):&lt;/h3&gt;#include&amp;lt;iostream&amp;gt;&lt;br /&gt;using namespace std;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;int n;&lt;br /&gt;&amp;nbsp;int c;&lt;br /&gt;&amp;nbsp;cin&amp;gt;&amp;gt;c;&lt;br /&gt;&amp;nbsp;for (int x=0;x&amp;lt;c;x++)&lt;br /&gt;&amp;nbsp;{&lt;br /&gt;&amp;nbsp; cin&amp;gt;&amp;gt;n;&lt;br /&gt;&amp;nbsp; int k=-1;&lt;br /&gt;&amp;nbsp; for (int i=2*n-1;i&amp;gt;=0;i--)&lt;br /&gt;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for (int j=0;j&amp;lt;i;j++)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&#39; &#39;;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&#39;*&#39;;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (i!=n-1&amp;amp;&amp;amp;i!=2*n-1)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; for (int j=0;j&amp;lt;k;j++)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&#39; &#39;;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if(i==n-1)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; for (int j=0;j&amp;lt;k;j++)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&#39;*&#39;;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; k+=2;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if (i!=2*n-1)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&#39;*&#39;&amp;lt;&amp;lt;endl;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;endl;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp; return 0;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;script charset=&quot;utf-8&quot; src=&quot;http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/9001198992338149975/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/cuhk-cse-progamming-contest-may-30-2013.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/9001198992338149975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/9001198992338149975'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/cuhk-cse-progamming-contest-may-30-2013.html' title='CUHK CSE PROGAMMING CONTEST, MAY 30 ,2013 PROBLEM A. Big A'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-3469744340975998015</id><published>2014-05-16T10:28:00.002+08:00</published><updated>2014-05-20T17:15:43.487+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++ e.g"/><category scheme="http://www.blogger.com/atom/ns#" term="c++ Maths"/><title type='text'>zero judge a010: 因數分解 (prime factor using map)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; height: 50px; text-align: center;&quot;&gt;&lt;div style=&quot;float: left; margin: auto; width: 797.578125px;&quot;&gt;&lt;span class=&quot;ShowProblem&quot; style=&quot;font-size: 24px; font-weight: bold;&quot;&gt;a010:&amp;nbsp;&lt;span id=&quot;problem_title&quot;&gt;因數分解&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; id=&quot;problem_content&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;各位在國小時都學過因數分解，都瞭解怎麼樣用紙筆計算出結果，現在由你來敎電腦做因數分解。&lt;br /&gt;因數分解就是把一個數字，切分為數個質數的乘積，如 12=2^2 * 3&lt;br /&gt;其中, 次方的符號以 ^ 來表示&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px;&quot;&gt;&lt;strong&gt;輸入說明 ：&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; id=&quot;problem_theinput&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;一個整數, 大於1 且 小於等於 1000000&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px;&quot;&gt;&lt;strong&gt;輸出說明 ：&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; id=&quot;problem_theoutput&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;一個字串&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 16px;&quot;&gt;&lt;strong&gt;範例輸入 ：&amp;nbsp;&lt;/strong&gt;&lt;img alt=&quot;help&quot; src=&quot;http://zerojudge.tw/images/help.png&quot; style=&quot;border: 0px;&quot; /&gt;&lt;br /&gt;&lt;div class=&quot;hint&quot; id=&quot;sampleinputhint&quot; style=&quot;background-color: honeydew; border: 1px dotted rgb(51, 102, 0); font-size: 11px; padding: 6px; position: absolute; visibility: hidden;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;pre&gt;20&lt;br /&gt;17&lt;br /&gt;999997&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 16px;&quot;&gt;&lt;strong&gt;範例輸出 ：&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;&lt;pre&gt;2^2 * 5&lt;br /&gt;17&lt;br /&gt;757 * 1321&lt;/pre&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px;&quot;&gt;&lt;strong&gt;提示 ：&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; id=&quot;problem_hint&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px;&quot;&gt;&lt;strong&gt;出處 ：&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;&lt;form action=&quot;http://zerojudge.tw/Problems&quot; method=&quot;post&quot; name=&quot;reference_form&quot; style=&quot;display: inline;&quot;&gt;&lt;span class=&quot;FakeLink&quot; id=&quot;search_reference&quot;&gt;Jiangsir&lt;/span&gt;&lt;/form&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;/**********************************************************************************/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;/* &amp;nbsp;Problem: a010 &quot;因數分解&quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;/* &amp;nbsp;Language: CPP (656 Bytes) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;/* &amp;nbsp;Result: AC(4ms, 408KB) judge by this@ZeroJudge &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;/* &amp;nbsp;Author: heyuezhou at 2014-05-16 10:26:39 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;/**********************************************************************************/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;#include&amp;lt;iostream&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;#include&amp;lt;map&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;using namespace std;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;map&amp;lt;int, int&amp;gt; prime_Factor(int n)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp;map&amp;lt;int, int&amp;gt; res;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp;for(int i=2;i*i&amp;lt;=n;i++)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;while(n%i==0)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; ++res[i];&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; n/=i;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; if(n!=1) res[n]=1;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; return res;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;int main()&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp;int a;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp;while(cin&amp;gt;&amp;gt;a)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; map&amp;lt;int,int&amp;gt; prime=prime_Factor(a);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; map&amp;lt;int,int&amp;gt;::iterator ite;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; for (ite=prime.begin();ite!=prime.end();ite++)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; if (ite-&amp;gt;second==1)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;ite-&amp;gt;first;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;ite-&amp;gt;first&amp;lt;&amp;lt;&#39;^&#39;&amp;lt;&amp;lt;ite-&amp;gt;second;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; if (++ite!=prime.end())&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot; * &quot;;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ite--; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;endl;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: 微軟正黑體, Microsoft JhengHei, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;script charset=&quot;utf-8&quot; src=&quot;http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/3469744340975998015/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/zero-judge-a010-prime-factor-using-map.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/3469744340975998015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/3469744340975998015'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/zero-judge-a010-prime-factor-using-map.html' title='zero judge a010: 因數分解 (prime factor using map)'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-6162471972567654656</id><published>2014-05-16T06:55:00.004+08:00</published><updated>2014-05-20T17:15:43.490+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++ e.g"/><category scheme="http://www.blogger.com/atom/ns#" term="c++ Maths"/><title type='text'>p029: [Week 09] Euclid Problem</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;color: #666666; font-family: Tahoma, arial, sans-serif; font-size: 16px; height: 50px; text-align: center;&quot;&gt;&lt;div style=&quot;float: left; margin: auto; width: 797.578125px;&quot;&gt;&lt;span class=&quot;ShowProblem&quot; style=&quot;font-size: 24px; font-weight: bold;&quot;&gt;p029: [Week 09] Euclid Problem&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;color: #666666; font-family: Tahoma, arial, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;From Euclid it is known that for any positive integers&amp;nbsp;&lt;em&gt;A&lt;/em&gt;&amp;nbsp;and&amp;nbsp;&lt;em&gt;B&lt;/em&gt;&amp;nbsp;there exist such integers&amp;nbsp;&lt;em&gt;X&lt;/em&gt;&amp;nbsp;and&amp;nbsp;&lt;em&gt;Y&lt;/em&gt;&amp;nbsp;that&amp;nbsp;&lt;em&gt;AX+BY=D&lt;/em&gt;, where&amp;nbsp;&lt;em&gt;D&lt;/em&gt;&amp;nbsp;is the greatest common divisor of&amp;nbsp;&lt;em&gt;A&lt;/em&gt;&amp;nbsp;and&amp;nbsp;&lt;em&gt;B&lt;/em&gt;. The problem is to find for given&amp;nbsp;&lt;em&gt;A&lt;/em&gt;&amp;nbsp;and&amp;nbsp;&lt;em&gt;B&lt;/em&gt;&amp;nbsp;corresponding&amp;nbsp;&lt;em&gt;X&lt;/em&gt;,&amp;nbsp;&lt;em&gt;Y&lt;/em&gt;&amp;nbsp;and&amp;nbsp;&lt;em&gt;D&lt;/em&gt;.&lt;br /&gt;&lt;h2 style=&quot;font-weight: normal; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #0070e8;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;SECTION0001003000000000000000&quot; style=&quot;font-size: 1em;&quot; title=&quot;SECTION0001003000000000000000&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: Tahoma, arial, sans-serif; font-size: 16px;&quot;&gt;&lt;strong&gt;輸入說明：&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;color: #666666; font-family: Tahoma, arial, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;The input will consist of a set of lines with the integer numbers&amp;nbsp;&lt;em&gt;A&lt;/em&gt;&amp;nbsp;and&amp;nbsp;&lt;em&gt;B&lt;/em&gt;, separated with space (&lt;em&gt;A,B&amp;lt;1000000001&lt;/em&gt;).&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: Tahoma, arial, sans-serif; font-size: 16px;&quot;&gt;&lt;strong&gt;輸出說明：&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;color: #666666; font-family: Tahoma, arial, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;For each input line the output line should consist of three integers&amp;nbsp;&lt;em&gt;X, Y&lt;/em&gt;&amp;nbsp;and&amp;nbsp;&lt;em&gt;D,&lt;/em&gt;&amp;nbsp;separated with space. If there are several such&amp;nbsp;&lt;em&gt;X&lt;/em&gt;&amp;nbsp;and&amp;nbsp;&lt;em&gt;Y&lt;/em&gt;, you should output that pair for which&amp;nbsp;&lt;em&gt;|X|+|Y|&lt;/em&gt;&amp;nbsp;is the minimal (primarily) and&amp;nbsp;&lt;em&gt;X&amp;lt;=Y&lt;/em&gt;&amp;nbsp;(secondarily).&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 16px;&quot;&gt;&lt;strong&gt;範例輸入：&lt;/strong&gt;&lt;img alt=&quot;help&quot; src=&quot;http://140.122.185.166/ZeroJudge/images/help.png&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/div&gt;&lt;div class=&quot;hint&quot; id=&quot;sampleinputhint&quot; style=&quot;background-color: honeydew; border: 1px dotted rgb(51, 102, 0); color: #666666; font-family: Tahoma, arial, sans-serif; font-size: 11px; padding: 6px; position: absolute; text-align: center; visibility: hidden;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;color: #666666; font-family: Tahoma, arial, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;&lt;pre&gt;4 6&lt;br /&gt;17 17&lt;/pre&gt;&lt;/div&gt;&lt;div style=&quot;color: #666666; font-family: Tahoma, arial, sans-serif; font-size: 16px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 16px;&quot;&gt;&lt;strong&gt;範例輸出 ：&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;color: #666666; font-family: Tahoma, arial, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;&lt;pre&gt;-1 1 2&lt;br /&gt;0 1 17&lt;/pre&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: Tahoma, arial, sans-serif; font-size: 16px;&quot;&gt;&lt;strong&gt;提示 ：&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;color: #666666; font-family: Tahoma, arial, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: Tahoma, arial, sans-serif; font-size: 16px;&quot;&gt;&lt;strong&gt;出處 ：&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;color: #666666; font-family: Tahoma, arial, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;(管理者: taskmanager)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;From reference book:&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;bar&quot; style=&quot;font-family: Consolas, &#39;Courier New&#39;, Courier, mono, serif; font-size: 12px; padding-left: 45px;&quot;&gt;&lt;div class=&quot;tools&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-left-width: 3px; color: silver; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; padding: 3px 8px 10px 10px;&quot;&gt;&lt;a href=&quot;http://140.122.185.166/ZeroJudge/ShowCode?solutionid=56018#&quot; style=&quot;background-color: inherit; background-image: none; border: none; color: #a0a0a0; margin: 0px 10px 0px 0px; padding: 0px; text-decoration: none;&quot;&gt;view plain&lt;/a&gt;&lt;a href=&quot;http://140.122.185.166/ZeroJudge/ShowCode?solutionid=56018#&quot; style=&quot;background-color: inherit; background-image: none; border: none; color: #a0a0a0; margin: 0px 10px 0px 0px; padding: 0px; text-decoration: none;&quot;&gt;print&lt;/a&gt;&lt;a href=&quot;http://140.122.185.166/ZeroJudge/ShowCode?solutionid=56018#&quot; style=&quot;background-color: inherit; background-image: none; border: none; color: #a0a0a0; margin: 0px 10px 0px 0px; padding: 0px; text-decoration: none;&quot;&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class=&quot;dp-cpp&quot; start=&quot;1&quot; style=&quot;background-color: white; border: none; color: #5c5c5c; font-family: Consolas, &#39;Courier New&#39;, Courier, mono, serif; font-size: 12px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1px 45px !important; padding: 0px;&quot;&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: inherit; border: none; color: #008200; margin: 0px; padding: 0px;&quot;&gt;/**********************************************************************************/&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: inherit; border: none; color: #008200; margin: 0px; padding: 0px;&quot;&gt;/*&amp;nbsp;&amp;nbsp;Problem:&amp;nbsp;p029&amp;nbsp;&quot;[Week&amp;nbsp;09]&amp;nbsp;Euclid&amp;nbsp;Problem&quot;&amp;nbsp;from&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*/&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: inherit; border: none; color: #008200; margin: 0px; padding: 0px;&quot;&gt;/*&amp;nbsp;&amp;nbsp;Language:&amp;nbsp;C++&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*/&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: inherit; border: none; color: #008200; margin: 0px; padding: 0px;&quot;&gt;/*&amp;nbsp;&amp;nbsp;Result:&amp;nbsp;AC&amp;nbsp;(2ms,&amp;nbsp;714KB)&amp;nbsp;on&amp;nbsp;ZeroJudge&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*/&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: inherit; border: none; color: #008200; margin: 0px; padding: 0px;&quot;&gt;/*&amp;nbsp;&amp;nbsp;Author:&amp;nbsp;heyuezhou&amp;nbsp;at&amp;nbsp;2014-05-16&amp;nbsp;06:52:34&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*/&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: inherit; border: none; color: #008200; margin: 0px; padding: 0px;&quot;&gt;/**********************************************************************************/&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;preprocessor&quot; style=&quot;background-color: inherit; border: none; color: grey; margin: 0px; padding: 0px;&quot;&gt;#include&amp;lt;iostream&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;preprocessor&quot; style=&quot;background-color: inherit; border: none; color: grey; margin: 0px; padding: 0px;&quot;&gt;#include&amp;lt;cstdio&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;namespace&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;std;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;ex,ey,c,d,e;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;gcd(&lt;/span&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;a,&lt;/span&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;b)&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;(b==0)&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;a;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;else&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;gcd(b,a%b);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;extgcd(&lt;/span&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;a,&lt;/span&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;b,&lt;/span&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;amp;x,&lt;/span&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;amp;y)&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;d=a;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;(b!=0)&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;d=extgcd(b,a%b,y,x);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;y-=(a/b)*x;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;else&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;x=1;y=0;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;d;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;main()&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;ans;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;while&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;(cin&amp;gt;&amp;gt;ex&amp;gt;&amp;gt;ey)&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ans=extgcd(ex,ey,c,d);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cout&amp;lt;&amp;lt;c&amp;lt;&amp;lt;&lt;span class=&quot;string&quot; style=&quot;background-color: inherit; border: none; color: blue; margin: 0px; padding: 0px;&quot;&gt;&#39;&amp;nbsp;&#39;&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;lt;&amp;lt;d&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;background-color: inherit; border: none; color: blue; margin: 0px; padding: 0px;&quot;&gt;&#39;&amp;nbsp;&#39;&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;lt;&amp;lt;ans&amp;lt;&amp;lt;endl;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;0;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;} &amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span style=&quot;font-family: Consolas, Courier New, Courier, mono, serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Consolas, Courier New, Courier, mono, serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Consolas, Courier New, Courier, mono, serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Consolas, Courier New, Courier, mono, serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 14px;&quot;&gt;My understanding:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bar&quot; style=&quot;font-family: Consolas, &#39;Courier New&#39;, Courier, mono, serif; font-size: 12px; padding-left: 45px;&quot;&gt;&lt;div class=&quot;tools&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-left-width: 3px; color: silver; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; padding: 3px 8px 10px 10px;&quot;&gt;&lt;a href=&quot;http://140.122.185.166/ZeroJudge/ShowCode?solutionid=56020#&quot; style=&quot;background-color: inherit; background-image: none; border: none; color: #a0a0a0; margin: 0px 10px 0px 0px; padding: 0px; text-decoration: none;&quot;&gt;view plain&lt;/a&gt;&lt;a href=&quot;http://140.122.185.166/ZeroJudge/ShowCode?solutionid=56020#&quot; style=&quot;background-color: inherit; background-image: none; border: none; color: #a0a0a0; margin: 0px 10px 0px 0px; padding: 0px; text-decoration: none;&quot;&gt;print&lt;/a&gt;&lt;a href=&quot;http://140.122.185.166/ZeroJudge/ShowCode?solutionid=56020#&quot; style=&quot;background-color: inherit; background-image: none; border: none; color: #a0a0a0; margin: 0px 10px 0px 0px; padding: 0px; text-decoration: none;&quot;&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class=&quot;dp-cpp&quot; start=&quot;1&quot; style=&quot;background-color: white; border: none; color: #5c5c5c; font-family: Consolas, &#39;Courier New&#39;, Courier, mono, serif; font-size: 12px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1px 45px !important; padding: 0px;&quot;&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: inherit; border: none; color: #008200; margin: 0px; padding: 0px;&quot;&gt;/**********************************************************************************/&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: inherit; border: none; color: #008200; margin: 0px; padding: 0px;&quot;&gt;/*&amp;nbsp;&amp;nbsp;Problem:&amp;nbsp;p029&amp;nbsp;&quot;[Week&amp;nbsp;09]&amp;nbsp;Euclid&amp;nbsp;Problem&quot;&amp;nbsp;from&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*/&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: inherit; border: none; color: #008200; margin: 0px; padding: 0px;&quot;&gt;/*&amp;nbsp;&amp;nbsp;Language:&amp;nbsp;C++&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*/&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: inherit; border: none; color: #008200; margin: 0px; padding: 0px;&quot;&gt;/*&amp;nbsp;&amp;nbsp;Result:&amp;nbsp;AC&amp;nbsp;(2ms,&amp;nbsp;698KB)&amp;nbsp;on&amp;nbsp;ZeroJudge&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*/&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: inherit; border: none; color: #008200; margin: 0px; padding: 0px;&quot;&gt;/*&amp;nbsp;&amp;nbsp;Author:&amp;nbsp;heyuezhou&amp;nbsp;at&amp;nbsp;2014-05-16&amp;nbsp;08:50:02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*/&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: inherit; border: none; color: #008200; margin: 0px; padding: 0px;&quot;&gt;/**********************************************************************************/&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;preprocessor&quot; style=&quot;background-color: inherit; border: none; color: grey; margin: 0px; padding: 0px;&quot;&gt;#include&amp;lt;iostream&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;preprocessor&quot; style=&quot;background-color: inherit; border: none; color: grey; margin: 0px; padding: 0px;&quot;&gt;#include&amp;lt;cstdio&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;namespace&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;std;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;ex,ey,c,d,e;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;gcd(&lt;/span&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;a,&lt;/span&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;b)&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;(b==0)&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;a;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;else&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;gcd(b,a%b);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;extgcd(&lt;/span&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;a,&lt;/span&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;b,&lt;/span&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;amp;x,&lt;/span&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;amp;y)&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;d=a;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;(b!=0)&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;d=extgcd(b,a%b,x,y);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;x-=(a/b)*y;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;swap(x,y);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;else&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;x=1;y=0;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;d;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;main()&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;ans;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;while&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;(cin&amp;gt;&amp;gt;ex&amp;gt;&amp;gt;ey)&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ans=extgcd(ex,ey,c,d);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cout&amp;lt;&amp;lt;c&amp;lt;&amp;lt;&lt;span class=&quot;string&quot; style=&quot;background-color: inherit; border: none; color: blue; margin: 0px; padding: 0px;&quot;&gt;&#39;&amp;nbsp;&#39;&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;lt;&amp;lt;d&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;background-color: inherit; border: none; color: blue; margin: 0px; padding: 0px;&quot;&gt;&#39;&amp;nbsp;&#39;&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;lt;&amp;lt;ans&amp;lt;&amp;lt;endl;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;0;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;} &amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/6162471972567654656/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/p029-week-09-euclid-problem.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/6162471972567654656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/6162471972567654656'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/p029-week-09-euclid-problem.html' title='p029: [Week 09] Euclid Problem'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-1276731925259595613</id><published>2014-05-15T23:00:00.002+08:00</published><updated>2014-05-20T17:15:43.485+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++ e.g"/><category scheme="http://www.blogger.com/atom/ns#" term="c++ Maths"/><title type='text'>線段上的格點數輾轉相除法(The point number in a line between two points)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;#include&amp;lt;iostream&amp;gt;&lt;br /&gt;#include&amp;lt;cmath&amp;gt;&lt;br /&gt;using namespace std;&lt;br /&gt;int ax,ay,bx,by;&lt;br /&gt;int gcd(int a,int b)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;if (b==0) return a;&lt;br /&gt;&amp;nbsp; else&lt;br /&gt;&amp;nbsp; return gcd(b,a%b);&lt;br /&gt;}&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;ax&amp;gt;&amp;gt;ay&amp;gt;&amp;gt;bx&amp;gt;&amp;gt;by;&lt;br /&gt;&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;gcd(abs(ax-bx),abs(ay-by))-1&amp;lt;&amp;lt;endl;&lt;br /&gt;&amp;nbsp; &amp;nbsp; system(&quot;pause&quot;); &lt;br /&gt;}&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;script charset=&quot;utf-8&quot; src=&quot;http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/1276731925259595613/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/blog-post_15.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/1276731925259595613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/1276731925259595613'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/blog-post_15.html' title='線段上的格點數輾轉相除法(The point number in a line between two points)'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-6280078735607209207</id><published>2014-05-15T20:55:00.000+08:00</published><updated>2014-05-20T17:15:26.896+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++ e.g"/><title type='text'>POJ 3169 Layout (Shortest Path)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;ptt&quot; lang=&quot;en-US&quot; style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: 18pt; font-weight: bold; text-align: center;&quot;&gt;Layout&lt;/div&gt;&lt;div class=&quot;plm&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; text-align: center;&quot;&gt;&lt;table align=&quot;center&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Time Limit:&lt;/b&gt;&amp;nbsp;1000MS&lt;/td&gt;&lt;td width=&quot;10px&quot;&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Memory Limit:&lt;/b&gt;&amp;nbsp;65536K&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Total Submissions:&lt;/b&gt;&amp;nbsp;6479&lt;/td&gt;&lt;td width=&quot;10px&quot;&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Accepted:&lt;/b&gt;&amp;nbsp;3132&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;pst&quot; style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: 18pt; font-weight: bold;&quot;&gt;Description&lt;/div&gt;&lt;div class=&quot;ptx&quot; lang=&quot;en-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, Times, serif;&quot;&gt;Like everyone else, cows like to stand close to their friends when queuing for feed. FJ has N (2 &amp;lt;= N &amp;lt;= 1,000) cows numbered 1..N standing along a straight line waiting for feed. The cows are standing in the same order as they are numbered, and since they can be rather pushy, it is possible that two or more cows can line up at exactly the same location (that is, if we think of each cow as being located at some coordinate on a number line, then it is possible for two or more cows to share the same coordinate).&lt;br /&gt;&lt;br /&gt;Some cows like each other and want to be within a certain distance of each other in line. Some really dislike each other and want to be separated by at least a certain distance. A list of ML (1 &amp;lt;= ML &amp;lt;= 10,000) constraints describes which cows like each other and the maximum distance by which they may be separated; a subsequent list of MD constraints (1 &amp;lt;= MD &amp;lt;= 10,000) tells which cows dislike each other and the minimum distance by which they must be separated.&lt;br /&gt;&lt;br /&gt;Your job is to compute, if possible, the maximum possible distance between cow 1 and cow N that satisfies the distance constraints.&lt;/div&gt;&lt;div class=&quot;pst&quot; style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: 18pt; font-weight: bold;&quot;&gt;Input&lt;/div&gt;&lt;div class=&quot;ptx&quot; lang=&quot;en-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, Times, serif;&quot;&gt;Line 1: Three space-separated integers: N, ML, and MD.&lt;br /&gt;&lt;br /&gt;Lines 2..ML+1: Each line contains three space-separated positive integers: A, B, and D, with 1 &amp;lt;= A &amp;lt; B &amp;lt;= N. Cows A and B must be at most D (1 &amp;lt;= D &amp;lt;= 1,000,000) apart.&lt;br /&gt;&lt;br /&gt;Lines ML+2..ML+MD+1: Each line contains three space-separated positive integers: A, B, and D, with 1 &amp;lt;= A &amp;lt; B &amp;lt;= N. Cows A and B must be at least D (1 &amp;lt;= D &amp;lt;= 1,000,000) apart.&lt;/div&gt;&lt;div class=&quot;pst&quot; style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: 18pt; font-weight: bold;&quot;&gt;Output&lt;/div&gt;&lt;div class=&quot;ptx&quot; lang=&quot;en-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, Times, serif;&quot;&gt;Line 1: A single integer. If no line-up is possible, output -1. If cows 1 and N can be arbitrarily far apart, output -2. Otherwise output the greatest possible distance between cows 1 and N.&lt;/div&gt;&lt;div class=&quot;pst&quot; style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: 18pt; font-weight: bold;&quot;&gt;Sample Input&lt;/div&gt;&lt;pre class=&quot;sio&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;4 2 1&lt;br /&gt;1 3 10&lt;br /&gt;2 4 20&lt;br /&gt;2 3 3&lt;/pre&gt;&lt;div class=&quot;pst&quot; style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: 18pt; font-weight: bold;&quot;&gt;Sample Output&lt;/div&gt;&lt;pre class=&quot;sio&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;27&lt;/pre&gt;&lt;div class=&quot;pst&quot; style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: 18pt; font-weight: bold;&quot;&gt;Hint&lt;/div&gt;&lt;div class=&quot;ptx&quot; lang=&quot;en-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, Times, serif;&quot;&gt;Explanation of the sample:&lt;br /&gt;&lt;br /&gt;There are 4 cows. Cows #1 and #3 must be no more than 10 units apart, cows #2 and #4 must be no more than 20 units apart, and cows #2 and #3 dislike each other and must be no fewer than 3 units apart.&lt;br /&gt;&lt;br /&gt;The best layout, in terms of coordinates on a number line, is to put cow #1 at 0, cow #2 at 7, cow #3 at 10, and cow #4 at 27.&lt;/div&gt;&lt;div class=&quot;pst&quot; style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: 18pt; font-weight: bold;&quot;&gt;Source&lt;/div&gt;&lt;div class=&quot;ptx&quot; lang=&quot;en-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;a href=&quot;http://poj.org/searchproblem?field=source&amp;amp;key=USACO+2005+December+Gold&quot; style=&quot;text-decoration: none;&quot;&gt;USACO 2005 December Gold&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;ptx&quot; lang=&quot;en-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;&lt;span style=&quot;color: #333399; font-size: medium;&quot;&gt;Source Code&lt;/span&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Problem:&lt;/b&gt;&amp;nbsp;&lt;a href=&quot;http://poj.org/problem?id=3169&quot;&gt;3169&lt;/a&gt;&lt;/td&gt;&lt;td width=&quot;10px&quot;&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;User:&lt;/b&gt;&amp;nbsp;&lt;a href=&quot;http://poj.org/userstatus?user_id=heyuezhou&quot;&gt;heyuezhou&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Memory:&lt;/b&gt;&amp;nbsp;372K&lt;/td&gt;&lt;td width=&quot;10px&quot;&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Time:&lt;/b&gt;&amp;nbsp;188MS&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Language:&lt;/b&gt;&amp;nbsp;C++&lt;/td&gt;&lt;td width=&quot;10px&quot;&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Result:&lt;/b&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Accepted&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;color: #333399; font-size: large;&quot;&gt;Source Code&lt;/span&gt;&lt;/li&gt;&lt;pre class=&quot;sh_cpp sh_sourceCode&quot; style=&quot;background-color: white; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;sh_preproc&quot; style=&quot;color: darkblue; font-weight: bold;&quot;&gt;#include&lt;/span&gt;&lt;span class=&quot;sh_string&quot; style=&quot;color: red; font-family: monospace;&quot;&gt;&amp;lt;iostream&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_preproc&quot; style=&quot;color: darkblue; font-weight: bold;&quot;&gt;#include&lt;/span&gt;&lt;span class=&quot;sh_string&quot; style=&quot;color: red; font-family: monospace;&quot;&gt;&amp;lt;cstdio&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;using&lt;/span&gt; &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;namespace&lt;/span&gt; std&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; INF&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;10000000&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; N&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;ML&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;MD&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; AL&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;10000&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;],&lt;/span&gt;BL&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;10000&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;],&lt;/span&gt;DL&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;10000&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; AD&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;10000&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;],&lt;/span&gt;BD&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;10000&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;],&lt;/span&gt;DD&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;10000&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; d&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;()&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;{&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;scanf&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_string&quot; style=&quot;color: red; font-family: monospace;&quot;&gt;&quot;%d%d%d&quot;&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&amp;amp;&lt;/span&gt;N&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&amp;amp;&lt;/span&gt;ML&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&amp;amp;&lt;/span&gt;MD&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;);&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;&amp;lt;&lt;/span&gt;ML&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;++)&lt;/span&gt; &lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;scanf&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_string&quot; style=&quot;color: red; font-family: monospace;&quot;&gt;&quot;%d%d%d&quot;&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&amp;amp;&lt;/span&gt;AL&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;],&amp;amp;&lt;/span&gt;BL&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;],&amp;amp;&lt;/span&gt;DL&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]);&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;&amp;lt;&lt;/span&gt;MD&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;++)&lt;/span&gt; &lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;scanf&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_string&quot; style=&quot;color: red; font-family: monospace;&quot;&gt;&quot;%d%d%d&quot;&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&amp;amp;&lt;/span&gt;AD&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;],&amp;amp;&lt;/span&gt;BD&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;],&amp;amp;&lt;/span&gt;DD&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]);&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;fill&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;d&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;d&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;+&lt;/span&gt;N&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;INF&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;);&lt;/span&gt;&lt;br /&gt; d&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]=&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; k&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;k&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;&amp;lt;&lt;/span&gt;N&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;k&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;++)&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;   &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;i&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;+1&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;&amp;lt;&lt;/span&gt;N&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;++)&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;d&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;+1&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]&amp;lt;&lt;/span&gt;INF&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;)&lt;/span&gt; d&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]=&lt;/span&gt;&lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;min&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;d&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;],&lt;/span&gt;d&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;+1&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]);&lt;/span&gt;&lt;br /&gt;   &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;&amp;lt;&lt;/span&gt;ML&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;++)&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;d&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;AL&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]-&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]&amp;lt;&lt;/span&gt;INF&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;)&lt;/span&gt; d&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;BL&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]-&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]=&lt;/span&gt;&lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;min&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;d&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;BL&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]-&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;],&lt;/span&gt;d&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;AL&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]-&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]+&lt;/span&gt;DL&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]);&lt;/span&gt;&lt;br /&gt;   &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;&amp;lt;&lt;/span&gt;MD&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;++)&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;d&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;BD&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]-&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]&amp;lt;&lt;/span&gt;INF&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;)&lt;/span&gt; d&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;AD&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]-&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]=&lt;/span&gt;&lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;min&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;d&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;AD&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]-&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;],&lt;/span&gt;d&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;BD&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]-&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]-&lt;/span&gt;DD&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]);&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; ans&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=&lt;/span&gt;d&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;N&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;-1&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;];&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;d&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]&amp;lt;&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;   &lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;{&lt;/span&gt;ans&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=-&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;   &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;ans&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;==&lt;/span&gt;INF&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;   &lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;{&lt;/span&gt;ans&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=-&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;   cout&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;ans&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;endl&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;   &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;/ul&gt;&lt;script charset=&quot;utf-8&quot; src=&quot;http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/6280078735607209207/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/poj-3169-layout-shortest-path.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/6280078735607209207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/6280078735607209207'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/poj-3169-layout-shortest-path.html' title='POJ 3169 Layout (Shortest Path)'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-1282476855109254032</id><published>2014-05-14T00:48:00.001+08:00</published><updated>2014-05-20T17:15:26.890+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++ e.g"/><title type='text'>POJ 3723 Conscription</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;span style=&quot;color: #333399; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;ptt&quot; lang=&quot;en-US&quot; style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: 18pt; font-weight: bold; text-align: center;&quot;&gt;Conscription&lt;/div&gt;&lt;div class=&quot;plm&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; text-align: center;&quot;&gt;&lt;table align=&quot;center&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Time Limit:&lt;/b&gt;&amp;nbsp;1000MS&lt;/td&gt;&lt;td width=&quot;10px&quot;&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Memory Limit:&lt;/b&gt;&amp;nbsp;65536K&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Total Submissions:&lt;/b&gt;&amp;nbsp;7310&lt;/td&gt;&lt;td width=&quot;10px&quot;&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Accepted:&lt;/b&gt;&amp;nbsp;2494&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;pst&quot; style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: 18pt; font-weight: bold;&quot;&gt;Description&lt;/div&gt;&lt;div class=&quot;ptx&quot; lang=&quot;en-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, Times, serif;&quot;&gt;Windy has a country, and he wants to build an army to protect his country. He has picked up&amp;nbsp;&lt;i&gt;N&lt;/i&gt;&amp;nbsp;girls and&amp;nbsp;&lt;i&gt;M&lt;/i&gt;&amp;nbsp;boys and wants to collect them to be his soldiers. To collect a soldier without any privilege, he must pay 10000 RMB. There are some relationships between girls and boys and Windy can use these relationships to reduce his cost. If girl&amp;nbsp;&lt;b&gt;x&lt;/b&gt;&amp;nbsp;and boy&amp;nbsp;&lt;b&gt;y&lt;/b&gt;&amp;nbsp;have a relationship&amp;nbsp;&lt;i&gt;d&lt;/i&gt;&amp;nbsp;and one of them has been collected, Windy can collect the other one with 10000-&lt;i&gt;d&lt;/i&gt;&amp;nbsp;RMB. Now given all the relationships between girls and boys, your assignment is to find the least amount of money Windy has to pay. Notice that only one relationship can be used when collecting one soldier.&lt;/div&gt;&lt;div class=&quot;pst&quot; style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: 18pt; font-weight: bold;&quot;&gt;Input&lt;/div&gt;&lt;div class=&quot;ptx&quot; lang=&quot;en-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, Times, serif;&quot;&gt;The first line of input is the number of test case.&lt;br /&gt;The first line of each test case contains three integers,&amp;nbsp;&lt;i&gt;N&lt;/i&gt;,&amp;nbsp;&lt;i&gt;M&lt;/i&gt;&amp;nbsp;and&amp;nbsp;&lt;i&gt;R&lt;/i&gt;.&lt;br /&gt;Then&amp;nbsp;&lt;i&gt;R&lt;/i&gt;&amp;nbsp;lines followed, each contains three integers&amp;nbsp;&lt;i&gt;x&lt;sub&gt;i&lt;/sub&gt;&lt;/i&gt;,&amp;nbsp;&lt;i&gt;y&lt;sub&gt;i&lt;/sub&gt;&lt;/i&gt;&amp;nbsp;and&amp;nbsp;&lt;i&gt;d&lt;sub&gt;i&lt;/sub&gt;&lt;/i&gt;.&lt;br /&gt;There is a blank line before each test case.&lt;br /&gt;1 ≤&amp;nbsp;&lt;i&gt;N&lt;/i&gt;,&amp;nbsp;&lt;i&gt;M&lt;/i&gt;&amp;nbsp;≤ 10000&lt;br /&gt;0 ≤&amp;nbsp;&lt;i&gt;R&lt;/i&gt;&amp;nbsp;≤ 50,000&lt;br /&gt;0 ≤&amp;nbsp;&lt;i&gt;x&lt;sub&gt;i&lt;/sub&gt;&lt;/i&gt;&amp;nbsp;&amp;lt;&amp;nbsp;&lt;i&gt;N&lt;/i&gt;&lt;br /&gt;0 ≤&amp;nbsp;&lt;i&gt;y&lt;sub&gt;i&lt;/sub&gt;&lt;/i&gt;&amp;nbsp;&amp;lt;&amp;nbsp;&lt;i&gt;M&lt;/i&gt;&lt;br /&gt;0 &amp;lt;&amp;nbsp;&lt;i&gt;d&lt;sub&gt;i&lt;/sub&gt;&lt;/i&gt;&amp;nbsp;&amp;lt; 10000&lt;/div&gt;&lt;div class=&quot;pst&quot; style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: 18pt; font-weight: bold;&quot;&gt;Output&lt;/div&gt;&lt;div class=&quot;ptx&quot; lang=&quot;en-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, Times, serif;&quot;&gt;For each test case output the answer in a single line.&lt;/div&gt;&lt;div class=&quot;pst&quot; style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: 18pt; font-weight: bold;&quot;&gt;Sample Input&lt;/div&gt;&lt;pre class=&quot;sio&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;2&lt;br /&gt;&lt;br /&gt;5 5 8&lt;br /&gt;4 3 6831&lt;br /&gt;1 3 4583&lt;br /&gt;0 0 6592&lt;br /&gt;0 1 3063&lt;br /&gt;3 3 4975&lt;br /&gt;1 3 2049&lt;br /&gt;4 2 2104&lt;br /&gt;2 2 781&lt;br /&gt;&lt;br /&gt;5 5 10&lt;br /&gt;2 4 9820&lt;br /&gt;3 2 6236&lt;br /&gt;3 1 8864&lt;br /&gt;2 4 8326&lt;br /&gt;2 0 5156&lt;br /&gt;2 0 1463&lt;br /&gt;4 1 2439&lt;br /&gt;0 4 4373&lt;br /&gt;3 4 8889&lt;br /&gt;2 4 3133&lt;br /&gt;&lt;/pre&gt;&lt;div class=&quot;pst&quot; style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: 18pt; font-weight: bold;&quot;&gt;Sample Output&lt;/div&gt;&lt;pre class=&quot;sio&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;71071&lt;br /&gt;54223&lt;br /&gt;&lt;/pre&gt;&lt;div class=&quot;pst&quot; style=&quot;color: blue; font-family: Arial, Helvetica, sans-serif; font-size: 18pt; font-weight: bold;&quot;&gt;Source&lt;/div&gt;&lt;div class=&quot;ptx&quot; lang=&quot;en-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;a href=&quot;http://poj.org/searchproblem?field=source&amp;amp;key=POJ+Monthly+Contest+%E2%80%93+2009.04.05&quot; style=&quot;text-decoration: none;&quot;&gt;POJ Monthly Contest – 2009.04.05&lt;/a&gt;, windy7926778&lt;/div&gt;&lt;div class=&quot;ptx&quot; lang=&quot;en-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;ptx&quot; lang=&quot;en-US&quot; style=&quot;font-family: &#39;Times New Roman&#39;, Times, serif;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;&lt;span style=&quot;color: #333399; font-size: medium;&quot;&gt;Source Code&lt;/span&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; style=&quot;font-size: 10pt;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Problem:&lt;/b&gt;&amp;nbsp;&lt;a href=&quot;http://poj.org/problem?id=3723&quot;&gt;3723&lt;/a&gt;&lt;/td&gt;&lt;td width=&quot;10px&quot;&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;User:&lt;/b&gt;&amp;nbsp;&lt;a href=&quot;http://poj.org/userstatus?user_id=heyuezhou&quot;&gt;heyuezhou&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Memory:&lt;/b&gt;&amp;nbsp;976K&lt;/td&gt;&lt;td width=&quot;10px&quot;&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Time:&lt;/b&gt;&amp;nbsp;375MS&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Language:&lt;/b&gt;&amp;nbsp;C++&lt;/td&gt;&lt;td width=&quot;10px&quot;&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Result:&lt;/b&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Accepted&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;color: #333399; font-size: large;&quot;&gt;Source Code&lt;/span&gt;&lt;/li&gt;&lt;pre class=&quot;sh_cpp sh_sourceCode&quot; style=&quot;background-color: white; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;sh_preproc&quot; style=&quot;color: darkblue; font-weight: bold;&quot;&gt;#include&lt;/span&gt;&lt;span class=&quot;sh_string&quot; style=&quot;color: red; font-family: monospace;&quot;&gt;&amp;lt;iostream&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_preproc&quot; style=&quot;color: darkblue; font-weight: bold;&quot;&gt;#include&lt;/span&gt;&lt;span class=&quot;sh_string&quot; style=&quot;color: red; font-family: monospace;&quot;&gt;&amp;lt;algorithm&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;using&lt;/span&gt; &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;namespace&lt;/span&gt; std&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; rank&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;20000&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; par&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;20000&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;struct&lt;/span&gt;&lt;span class=&quot;sh_normal&quot;&gt; &lt;/span&gt;&lt;span class=&quot;sh_classname&quot;&gt;edge&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;{&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; from&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; cost&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; to&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;typedef&lt;/span&gt; pair&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;&amp;gt;&lt;/span&gt; P&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; N&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;M&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;R&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;initialize&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; n&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;{&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;&amp;lt;&lt;/span&gt;n&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;++)&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;{&lt;/span&gt;par&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]=&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;rank&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]=&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;find&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; x&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;{&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;par&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;x&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]==&lt;/span&gt;x&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;return&lt;/span&gt; x&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;   &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;return&lt;/span&gt; x&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;find&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;par&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;x&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]);&lt;/span&gt; &lt;br /&gt;&lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;unite&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; x&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; y&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;{&lt;/span&gt;&lt;br /&gt; x&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;find&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;x&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;);&lt;/span&gt;&lt;br /&gt; y&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;find&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;y&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;);&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;x&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;==&lt;/span&gt;y&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;rank&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;x&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]&amp;lt;&lt;/span&gt;rank&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;y&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;])&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;   par&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;x&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]=&lt;/span&gt;y&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;   par&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;y&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]=&lt;/span&gt;x&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;   &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;rank&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;x&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]==&lt;/span&gt;rank&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;y&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;])&lt;/span&gt;rank&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;x&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;]++;&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;bool&lt;/span&gt; &lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;same&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; x&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; y&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;find&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;x&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;)==&lt;/span&gt;&lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;find&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;y&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;bool&lt;/span&gt; &lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;comp&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;const&lt;/span&gt; edge &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;&amp;amp;&lt;/span&gt;e1&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;const&lt;/span&gt; edge &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;&amp;amp;&lt;/span&gt;e2&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;)&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;return&lt;/span&gt; e1&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;.&lt;/span&gt;cost&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;&amp;gt;&lt;/span&gt;e2&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;.&lt;/span&gt;cost&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;()&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; c&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;scanf&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_string&quot; style=&quot;color: red; font-family: monospace;&quot;&gt;&quot;%d&quot;&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&amp;amp;&lt;/span&gt;c&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; j&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;j&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;&amp;lt;&lt;/span&gt;c&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;j&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;++)&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; N&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;M&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;R&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;V&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;maxWeight&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;   edge es&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;50000&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;];&lt;/span&gt;&lt;br /&gt;   &lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;scanf&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_string&quot; style=&quot;color: red; font-family: monospace;&quot;&gt;&quot;%d%d%d&quot;&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&amp;amp;&lt;/span&gt;N&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&amp;amp;&lt;/span&gt;M&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&amp;amp;&lt;/span&gt;R&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;);&lt;/span&gt;&lt;br /&gt;    V&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=&lt;/span&gt;N&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;+&lt;/span&gt;M&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;&amp;lt;&lt;/span&gt;R&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;++)&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;     &lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;scanf&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_string&quot; style=&quot;color: red; font-family: monospace;&quot;&gt;&quot;%d%d%d&quot;&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&amp;amp;&lt;/span&gt;es&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;].&lt;/span&gt;from&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&amp;amp;&lt;/span&gt;es&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;].&lt;/span&gt;to&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&amp;amp;&lt;/span&gt;es&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;].&lt;/span&gt;cost&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;);&lt;/span&gt;&lt;br /&gt;     es&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;].&lt;/span&gt;to&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;+=&lt;/span&gt;N&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;sort&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;es&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;es&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;+&lt;/span&gt;R&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;comp&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;);&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;initialize&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;V&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;);&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;&amp;lt;&lt;/span&gt;R&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;++)&lt;/span&gt;&lt;br /&gt;     &lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; u&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=&lt;/span&gt;es&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;].&lt;/span&gt;from&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;sh_type&quot; style=&quot;color: darkgreen;&quot;&gt;int&lt;/span&gt; v&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;=&lt;/span&gt;es&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;].&lt;/span&gt;to&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;       &lt;span class=&quot;sh_keyword&quot; style=&quot;color: blue; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(!&lt;/span&gt;&lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;same&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;u&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;v&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;))&lt;/span&gt;&lt;br /&gt;        &lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;         &lt;span class=&quot;sh_function&quot; style=&quot;font-weight: bold;&quot;&gt;unite&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;(&lt;/span&gt;u&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;,&lt;/span&gt;v&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;);&lt;/span&gt;&lt;br /&gt;         maxWeight&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;+=&lt;/span&gt;es&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;].&lt;/span&gt;cost&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;        &lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;     cout&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;sh_number&quot; style=&quot;color: purple;&quot;&gt;10000&lt;/span&gt;&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;*&lt;/span&gt;V&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;-&lt;/span&gt;maxWeight&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;endl&lt;span class=&quot;sh_symbol&quot; style=&quot;color: darkred;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;}&lt;/span&gt;    &lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;sh_cbracket&quot; style=&quot;color: red;&quot;&gt;}&lt;/span&gt;   &lt;/pre&gt;&lt;/ul&gt;&lt;script charset=&quot;utf-8&quot; src=&quot;http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/1282476855109254032/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/poj-3723-conscription.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/1282476855109254032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/1282476855109254032'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/poj-3723-conscription.html' title='POJ 3723 Conscription'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-8905519413673646383</id><published>2014-05-11T01:37:00.000+08:00</published><updated>2014-05-20T17:16:17.447+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="X-code"/><title type='text'>2014 IOS App Time Master</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;App name:&lt;/h3&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&amp;nbsp;Time Master&lt;/li&gt;&lt;/ul&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;Programmer and Designer:&lt;/h3&gt;&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Terry Cheong&amp;nbsp;&lt;/li&gt;&lt;li&gt;John Ho (HE,YUE ZHOU)&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;Features:&lt;/h3&gt;&lt;div&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Recording the time you have spent on the things you want to do helping you to treasure your time.&lt;/li&gt;&lt;li&gt;Once achieve a specific time line(1), a dedicate image will be presented.&lt;/li&gt;&lt;li&gt;You can post the images to Facebook, Twitter etc.&lt;/li&gt;&lt;li&gt;You can also save the images to you iPhone.&lt;/li&gt;&lt;li&gt;The text colour of your task will be changed according to the your status.&lt;/li&gt;&lt;/ol&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;Images:&lt;/h3&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-3NAlcm6PYP8/U25iM-Xx0RI/AAAAAAAADF0/5IgIRenBzgo/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.36.34+pm.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-3NAlcm6PYP8/U25iM-Xx0RI/AAAAAAAADF0/5IgIRenBzgo/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.36.34+pm.png&quot; height=&quot;320&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-gylBMGbNFic/U25iNVqhphI/AAAAAAAADFw/ZQBIx2knj1E/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.36.51+pm.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-gylBMGbNFic/U25iNVqhphI/AAAAAAAADFw/ZQBIx2knj1E/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.36.51+pm.png&quot; height=&quot;320&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-GDrktGwjEpI/U25iNgSRJgI/AAAAAAAADGA/wqhrqvbWhRI/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.37.01+pm.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-GDrktGwjEpI/U25iNgSRJgI/AAAAAAAADGA/wqhrqvbWhRI/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.37.01+pm.png&quot; height=&quot;320&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-mQ4_yV-PAA4/U25iPaybq-I/AAAAAAAADGU/p7CWIvT5l48/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.37.19+pm.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-mQ4_yV-PAA4/U25iPaybq-I/AAAAAAAADGU/p7CWIvT5l48/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.37.19+pm.png&quot; height=&quot;320&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-Nr_tGJHF_00/U25iOU88b3I/AAAAAAAADGI/Lx4Rm5iRLAo/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.37.47+pm.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-Nr_tGJHF_00/U25iOU88b3I/AAAAAAAADGI/Lx4Rm5iRLAo/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.37.47+pm.png&quot; height=&quot;320&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-1Wmq3FO0t18/U25iPMlDo3I/AAAAAAAADGQ/Py9aJLD_PUM/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.37.56+pm.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-1Wmq3FO0t18/U25iPMlDo3I/AAAAAAAADGQ/Py9aJLD_PUM/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.37.56+pm.png&quot; height=&quot;320&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-PCOOwXEHbpc/U25iRP-MKoI/AAAAAAAADGg/kXgocGVOA48/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.38.01+pm.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-PCOOwXEHbpc/U25iRP-MKoI/AAAAAAAADGg/kXgocGVOA48/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.38.01+pm.png&quot; height=&quot;320&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-JQagc6HJnvA/U25ibPs1xhI/AAAAAAAADHA/2uEc1uIUZDA/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.38.05+pm.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-JQagc6HJnvA/U25ibPs1xhI/AAAAAAAADHA/2uEc1uIUZDA/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.38.05+pm.png&quot; height=&quot;320&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-QQWgftmyTD8/U25iX5CmlnI/AAAAAAAADGo/yDMBm_yodz4/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.38.10+pm.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-QQWgftmyTD8/U25iX5CmlnI/AAAAAAAADGo/yDMBm_yodz4/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.38.10+pm.png&quot; height=&quot;320&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-iawRB1S7hg4/U25iYeMe4II/AAAAAAAADGs/qEMB5_9DqIk/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.38.15+pm.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-iawRB1S7hg4/U25iYeMe4II/AAAAAAAADGs/qEMB5_9DqIk/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.38.15+pm.png&quot; height=&quot;320&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-HdSanAXkIoQ/U25iZI1k4DI/AAAAAAAADG4/Y6pGJkgPdyE/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.38.22+pm.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-HdSanAXkIoQ/U25iZI1k4DI/AAAAAAAADG4/Y6pGJkgPdyE/s1600/iOS+Simulator+Screen+shot+10+May,+2014+3.38.22+pm.png&quot; height=&quot;320&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;Video:&amp;nbsp;&lt;a href=&quot;https://www.youtube.com/watch?v=WxlVKk0CTiQ&quot; rel=&quot;nofollow nofollow&quot; style=&quot;background-color: white; color: #3b5998; cursor: pointer; font-family: Helvetica, Arial, &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 14px; line-height: 20px; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;https://www.youtube.com/watch?v=WxlVKk0CTiQ&lt;/a&gt;&lt;/h3&gt;&lt;/div&gt;&lt;div&gt;(1):Three levels have been set so far.&lt;br /&gt;(2):The actual images awarded to the users are still in preparation. I do not own the image of love plus collection above. Images are for demo only.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/8905519413673646383/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/2014-ios-app-time-master.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/8905519413673646383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/8905519413673646383'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/2014-ios-app-time-master.html' title='2014 IOS App Time Master'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-3NAlcm6PYP8/U25iM-Xx0RI/AAAAAAAADF0/5IgIRenBzgo/s72-c/iOS+Simulator+Screen+shot+10+May,+2014+3.36.34+pm.png" height="72" width="72"/><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-4334152963187066554</id><published>2014-05-07T22:12:00.003+08:00</published><updated>2014-05-07T22:12:33.602+08:00</updated><title type='text'>[how to] mac terminal telnet ptt.cc</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-AMfWSlIzz0M/U2o-vPcwL0I/AAAAAAAADFg/cElqslLJpb4/s1600/%E8%9E%A2%E5%B9%95%E5%BF%AB%E7%85%A7+2014-05-07+%E4%B8%8B%E5%8D%8810.07.19.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-AMfWSlIzz0M/U2o-vPcwL0I/AAAAAAAADFg/cElqslLJpb4/s1600/%E8%9E%A2%E5%B9%95%E5%BF%AB%E7%85%A7+2014-05-07+%E4%B8%8B%E5%8D%8810.07.19.png&quot; height=&quot;200&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;　　只要搜尋出terminal，然後在&lt;b&gt;「偏好設定」&lt;/b&gt;裡設定繁體中文，PTT就不會亂碼了。&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-WaZpJtqCjV0/U2o-esSINnI/AAAAAAAADFU/Ccob8n48Pzw/s1600/%E8%9E%A2%E5%B9%95%E5%BF%AB%E7%85%A7+2014-05-07+%E4%B8%8B%E5%8D%8810.07.29.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-WaZpJtqCjV0/U2o-esSINnI/AAAAAAAADFU/Ccob8n48Pzw/s1600/%E8%9E%A2%E5%B9%95%E5%BF%AB%E7%85%A7+2014-05-07+%E4%B8%8B%E5%8D%8810.07.29.png&quot; height=&quot;82&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-132b4WFzZvk/U2o-eaZf73I/AAAAAAAADFQ/d68rDVGe0bQ/s1600/%E8%9E%A2%E5%B9%95%E5%BF%AB%E7%85%A7+2014-05-07+%E4%B8%8B%E5%8D%8810.08.15.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-132b4WFzZvk/U2o-eaZf73I/AAAAAAAADFQ/d68rDVGe0bQ/s1600/%E8%9E%A2%E5%B9%95%E5%BF%AB%E7%85%A7+2014-05-07+%E4%B8%8B%E5%8D%8810.08.15.png&quot; height=&quot;248&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;script charset=&quot;utf-8&quot; src=&quot;http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/4334152963187066554/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/how-to-mac-terminal-telnet-pttcc.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/4334152963187066554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/4334152963187066554'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/how-to-mac-terminal-telnet-pttcc.html' title='[how to] mac terminal telnet ptt.cc'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-AMfWSlIzz0M/U2o-vPcwL0I/AAAAAAAADFg/cElqslLJpb4/s72-c/%E8%9E%A2%E5%B9%95%E5%BF%AB%E7%85%A7+2014-05-07+%E4%B8%8B%E5%8D%8810.07.19.png" height="72" width="72"/><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-6940495971851941932</id><published>2014-05-07T21:26:00.000+08:00</published><updated>2014-05-07T21:26:47.162+08:00</updated><title type='text'>Macbook Pro with Retina 13 inch 之體驗（一）</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;　　&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-XMwb1VbJYGE/U2o0Q6hepwI/AAAAAAAADFA/35V0Fgx2Rg8/s1600/10174900_652768241474198_560582789494908334_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-XMwb1VbJYGE/U2o0Q6hepwI/AAAAAAAADFA/35V0Fgx2Rg8/s1600/10174900_652768241474198_560582789494908334_n.jpg&quot; height=&quot;640&quot; width=&quot;467&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt; 　　&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;　　今天，剛剛去香港買了一臺macbook pro with Retina 13 inch為大學用。這麼著急買，當然是因為要寫app作為畢業作品。&lt;div&gt;　　&lt;/div&gt;&lt;div&gt;　　持有香港的大學的錄取通知書的話，價格會便宜800HKD左右，剛好抵回兩個人來往港澳的船票。到手的MACBOOK PRO with RETINA除了一個變換器，兩個電源插口和電腦主體就甚麼也沒有了。滑鼠和鍵盤膜都要另外買，電腦包當然也是沒有。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;　　不得不承認的是，retina看起來真的很舒服。雖然沒有滑鼠，TRACKPACK用起來相當順手，從手勢設定中可以看出來，APPLE有意將平板和筆電的使用體驗一體化，但卻遲遲沒有推出觸控屏，是否慢人一步呢？&lt;/div&gt;&lt;div&gt;　&lt;b&gt;　&lt;/b&gt;&lt;/div&gt;&lt;div&gt;　　雖然，WINDOWS的觸控屏上上下下的看起來好累。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/6940495971851941932/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/macbook-pro-with-retina-13-inch.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/6940495971851941932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/6940495971851941932'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/macbook-pro-with-retina-13-inch.html' title='Macbook Pro with Retina 13 inch 之體驗（一）'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-XMwb1VbJYGE/U2o0Q6hepwI/AAAAAAAADFA/35V0Fgx2Rg8/s72-c/10174900_652768241474198_560582789494908334_n.jpg" height="72" width="72"/><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-6442730410790621496</id><published>2014-05-05T13:26:00.001+08:00</published><updated>2014-05-05T13:28:37.694+08:00</updated><title type='text'>在書店裡打書釘，偶而發現的中文。</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;　　&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-3WAhP61WbJM/U2cg7aFr2OI/AAAAAAAADEs/zx9W2BJJ83s/s1600/%E6%B8%AF%E5%BC%8F%E4%B8%AD%E6%96%87.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-3WAhP61WbJM/U2cg7aFr2OI/AAAAAAAADEs/zx9W2BJJ83s/s1600/%E6%B8%AF%E5%BC%8F%E4%B8%AD%E6%96%87.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;　　甚麼是中文？跟英文不同，中文在書寫表達的時候或許有很多相同之處，但一旦說起來絕對是天南地北。&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;　　可有意思的現況是，中國大陸中央正在不斷推行普通話，標準漢字，所以中小學的教育都是按照全國統一的路子來。這又導致了一個新的狀況，某個地區的人會在日常生活中使用其當地方言，可一旦到了寫作的時候，腦海中就會自動運行普通話模式，寫出一種全國漢人都能懂的「標準中文」。&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;　　但畢竟純而又純的語言很少存在，也沒多少存在的價值。所以，往往從一個人的文章裡，就可以找到當地語言的特色。但在全國統一的大氛圍下，地方文學不可能獨樹一幟。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;　　但話又說回來了，全國統一氛圍較少的地區並不是不存在，從中小學開始就開始「母語教學」的地區並不是沒有，港、澳特別行政區就是最好的例子。&lt;/div&gt;&lt;div&gt;　　&lt;/div&gt;&lt;div&gt;　　粵語作為一大方言，其地方文學最早可以追溯到甚麼時候，我並不清楚，但可以明確的是，地方文學絕對在港澳成為殖民地前就存在了。&lt;/div&gt;&lt;div&gt;　　&lt;/div&gt;&lt;div&gt;　　&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-GW5dEFY7K8U/U2Z4LACHCqI/AAAAAAAADEc/1ACeVYPzdCs/s1600/1669919_622657224485300_243859008_o.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-GW5dEFY7K8U/U2Z4LACHCqI/AAAAAAAADEc/1ACeVYPzdCs/s1600/1669919_622657224485300_243859008_o.jpg&quot; height=&quot;640&quot; width=&quot;476&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;　　以上這幅圖，是我家的族譜，最早的一位族先來自明朝。文中有不少粵語詞彙，如：「舉頭三尺有神明」、「晏晝」等。&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/6442730410790621496/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/6442730410790621496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/6442730410790621496'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/blog-post.html' title='在書店裡打書釘，偶而發現的中文。'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-3WAhP61WbJM/U2cg7aFr2OI/AAAAAAAADEs/zx9W2BJJ83s/s72-c/%E6%B8%AF%E5%BC%8F%E4%B8%AD%E6%96%87.jpg" height="72" width="72"/><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-2744937652628925097</id><published>2014-05-04T14:38:00.002+08:00</published><updated>2014-05-05T03:54:13.025+08:00</updated><title type='text'>c++重新定向文件輸入輸出(File Redirect input/output)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;　　最後一次參加APIO比賽，沒把新練成的C++派上用場實在太可惜。文件重新定向這種，比較像我熟悉的PASCAL文件輸入輸出寫法 。希望MOI，別又出甚麼狀況。&lt;br /&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;Pascal source code:&lt;/h3&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-collapse: collapse; border-spacing: 0px; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #333333; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 13px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 1px 0px !important; max-width: 100%; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 1000px;&quot;&gt;&lt;tbody style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;tr style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;1&lt;/div&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;2&lt;/div&gt;&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;3&lt;/div&gt;&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;4&lt;/div&gt;&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;5&lt;/div&gt;&lt;div class=&quot;line number6 index5 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;6&lt;/div&gt;&lt;div class=&quot;line number7 index6 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;7&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 970px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;xml spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #dd1144; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;assign(input,&#39;in.in&#39;);&amp;nbsp;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;xml spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #dd1144; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;assign(output,&#39;out.out&#39;);&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;xml spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #dd1144; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;reset(input);&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;xml spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #dd1144; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;rewrite(output);&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;xml spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #dd1144; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;//code&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number6 index5 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;xml spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #dd1144; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;close(input);&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number7 index6 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;xml spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #dd1144; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;close(output);&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;c++ source code:&lt;/h3&gt;&lt;div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-collapse: collapse; border-spacing: 0px; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #333333; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 13px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 1px 0px !important; max-width: 100%; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 1000px;&quot;&gt;&lt;tbody style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;tr style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(175, 175, 175) !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;1&lt;/div&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;2&lt;/div&gt;&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;3&lt;/div&gt;&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;4&lt;/div&gt;&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;5&lt;/div&gt;&lt;div class=&quot;line number6 index5 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;6&lt;/div&gt;&lt;div class=&quot;line number7 index6 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;7&lt;/div&gt;&lt;div class=&quot;line number8 index7 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;8&lt;/div&gt;&lt;div class=&quot;line number9 index8 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;9&lt;/div&gt;&lt;div class=&quot;line number10 index9 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;10&lt;/div&gt;&lt;div class=&quot;line number11 index10 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;11&lt;/div&gt;&lt;div class=&quot;line number12 index11 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(108, 226, 108) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;12&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 963px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;c preprocessor&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;#include&amp;lt;iostream&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;c preprocessor&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;#include&amp;lt;cstring&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;c keyword bold&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;using&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;c keyword bold&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 102, 153) !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;namespace&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;c plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;std;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;c color1 bold&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;int&lt;/code&gt;&amp;nbsp;&lt;code class=&quot;c plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;main()&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;c plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;{&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number6 index5 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;c spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #dd1144; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;c functions bold&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(255, 20, 147) !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;freopen&lt;/code&gt;&lt;code class=&quot;c plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;(&lt;/code&gt;&lt;code class=&quot;c string&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;data.in&quot;&lt;/code&gt;&lt;code class=&quot;c plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;,&lt;/code&gt;&lt;code class=&quot;c string&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;r&quot;&lt;/code&gt;&lt;code class=&quot;c plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;,stdin);&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number7 index6 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;c spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #dd1144; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;c functions bold&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(255, 20, 147) !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;freopen&lt;/code&gt;&lt;code class=&quot;c plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;(&lt;/code&gt;&lt;code class=&quot;c string&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;data.txt&quot;&lt;/code&gt;&lt;code class=&quot;c plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;,&lt;/code&gt;&lt;code class=&quot;c string&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: blue !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;w&quot;&lt;/code&gt;&lt;code class=&quot;c plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;,stdout);&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number8 index7 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;c spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #dd1144; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;c plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;string&amp;nbsp;s;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number9 index8 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;c spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #dd1144; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;c plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;cin&amp;gt;&amp;gt;s;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number10 index9 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;c spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #dd1144; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;c plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;cout&amp;lt;&amp;lt;s;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number11 index10 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;c spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #dd1144; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;line number12 index11 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;&lt;code class=&quot;c plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; min-height: inherit !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;}&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;script charset=&quot;utf-8&quot; src=&quot;http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/2744937652628925097/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/cfile-redirect-inputoutput.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/2744937652628925097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/2744937652628925097'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/05/cfile-redirect-inputoutput.html' title='c++重新定向文件輸入輸出(File Redirect input/output)'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-4678222461030060259</id><published>2014-04-30T23:45:00.002+08:00</published><updated>2014-04-30T23:48:52.911+08:00</updated><title type='text'>讀九把刀之－－月老</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-5BWjTOLF9f0/U2EbXY-SukI/AAAAAAAADEI/vwxv_WFk70Y/s1600/l_p1005128835.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-5BWjTOLF9f0/U2EbXY-SukI/AAAAAAAADEI/vwxv_WFk70Y/s1600/l_p1005128835.jpg&quot; height=&quot;320&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;Section0&quot;&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 28pt;&quot;&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 28pt;&quot;&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;要說，雖說刀大在小說中沒有提及，《月老》幾乎就是《等一個人咖啡》的老闆娘做事的前傳。也有一些《那些年，我們一起追的女孩》的影子&lt;/span&gt;&lt;span style=&quot;font-family: PMingLiU; font-size: 14pt;&quot;&gt;。&lt;/span&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;畢竟，九把刀&lt;/span&gt;&lt;span style=&quot;font-family: PMingLiU; font-size: 14pt;&quot;&gt;的青春只有一個&lt;/span&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;。&lt;/span&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;人生，只有一次，不能重來，也沒有必要重來。&lt;/span&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 28pt;&quot;&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;　　主角親手為最愛的女孩牽上紅線的心情，我不能體會。一邊說自己沒有那個度量，一邊為心愛的女孩那樣做，心中&lt;/span&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;該&lt;/span&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;多糾結&lt;/span&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;不捨&lt;/span&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;？&lt;/span&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 28pt;&quot;&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;九把刀的故事總缺不了三角戀情，男性可以同時真心的愛兩個人嗎？A0的我不能明白。&lt;/span&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 28pt;&quot;&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 28pt;&quot;&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;但以我的角度來看，愛一個人的這些事，&lt;/span&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 36pt; font-weight: bold;&quot;&gt;　&lt;/span&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 36pt; font-weight: bold;&quot;&gt;一萬年都不會變！！！&lt;/span&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 36pt; font-weight: bold;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 36pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;　　刀大的故事，一如既往，很精彩。要從大眾文學的角度來看，九把刀的《月老》、《等一個人咖啡》、《那些年，我們一起追的女孩》，&lt;/span&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;可&lt;/span&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;算是新‧愛情三部曲了吧。&lt;/span&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;　　注：本人未看過真‧愛情三部曲，巴金先生的《霧》、《雨》、《電》。&lt;/span&gt;&lt;span style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;p0&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/4678222461030060259/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/04/blog-post_30.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/4678222461030060259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/4678222461030060259'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/04/blog-post_30.html' title='讀九把刀之－－月老'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-5BWjTOLF9f0/U2EbXY-SukI/AAAAAAAADEI/vwxv_WFk70Y/s72-c/l_p1005128835.jpg" height="72" width="72"/><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-4521319727468799878</id><published>2014-04-20T04:56:00.000+08:00</published><updated>2014-04-20T12:14:14.968+08:00</updated><title type='text'>我的青春裡，滿滿都是你。</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 1.6; text-indent: 28.5pt;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-ty-yrQfRbyk/U1LkkJAr3EI/AAAAAAAADDY/Zgbcx6OawKU/s1600/01dc63c541226badd901054ccc9fa1360f97bb744b.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-ty-yrQfRbyk/U1LkkJAr3EI/AAAAAAAADDY/Zgbcx6OawKU/s1600/01dc63c541226badd901054ccc9fa1360f97bb744b.jpg&quot; height=&quot;640&quot; width=&quot;480&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: &amp;quot;PMingLiU&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 14.0pt; mso-ascii-font-family: 仿宋; mso-fareast-language: ZH-TW; mso-hansi-font-family: 仿宋;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;text-indent: 28.5pt;&quot;&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;　　第一次看完《那些年&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;,&lt;/span&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;我們一起追的女孩》小說版。雖說是小說，但卻很紀實。讓我跌破眼鏡的是，九把刀回憶往事的功力，小說中的不僅僅是一些事件的記錄，還有柯景滕，那個喜歡着最愛的女孩的男生的心情。有人說，九把刀對初戀女友念念不忘，連只看過電影版的我也是這麼認為，還為九把刀覺得怪可惜的。&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: 仿宋; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;text-indent: 28.5pt;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;text-indent: 28.5pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: 仿宋; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;text-indent: 28.5pt;&quot;&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;但在，看過小說以後，知道沈佳儀對九把刀的心意，和九把刀的抉擇。故事結局，那種淡淡的另類圓滿。讓我瞭解，那終究是青春的鬧劇，也注定留在青春裡，但也就足夠了。&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: 仿宋; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;text-indent: 28.5pt;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;text-indent: 28.5pt;&quot;&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;九把刀的青春裡，並不是他一個人在舞蹈。&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: 仿宋; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;text-indent: 28.5pt;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;text-indent: 28.5pt;&quot;&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;這一點幸福，多麼讓我羨慕。&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: 仿宋; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;MsoNormal&quot; style=&quot;text-indent: 28.5pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;　　因為許多事情，若以將來的眼光來看，便會是那麼的美好。&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: 仿宋; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 28.5pt;&quot;&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: &amp;quot;PMingLiU&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 14.0pt; mso-ascii-font-family: 宋体; mso-ascii-theme-font: minor-fareast; mso-fareast-language: ZH-TW; mso-hansi-font-family: 宋体; mso-hansi-theme-font: minor-fareast;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-mAHqZchv_Ig/U1Lj5C5ALbI/AAAAAAAADDA/r30Go3Ij7R8/s1600/015b0da701761ad270de7b73f0d219d7718b6a7466.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-mAHqZchv_Ig/U1Lj5C5ALbI/AAAAAAAADDA/r30Go3Ij7R8/s1600/015b0da701761ad270de7b73f0d219d7718b6a7466.jpg&quot; height=&quot;640&quot; width=&quot;480&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-hgdci608HrI/U1LkXyE6ECI/AAAAAAAADDI/cFuyPggrq7M/s1600/019c4e73893a6a5ac4b99b000ce129abdc1437295a.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-hgdci608HrI/U1LkXyE6ECI/AAAAAAAADDI/cFuyPggrq7M/s1600/019c4e73893a6a5ac4b99b000ce129abdc1437295a.jpg&quot; height=&quot;640&quot; width=&quot;480&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-c8BjrSVKeIQ/U1Lkb_rgRlI/AAAAAAAADDQ/62tDuDJA-WE/s1600/IMG_0323.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-c8BjrSVKeIQ/U1Lkb_rgRlI/AAAAAAAADDQ/62tDuDJA-WE/s1600/IMG_0323.JPG&quot; height=&quot;640&quot; width=&quot;480&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: &amp;quot;PMingLiU&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 14.0pt; mso-ascii-font-family: 宋体; mso-ascii-theme-font: minor-fareast; mso-fareast-language: ZH-TW; mso-hansi-font-family: 宋体; mso-hansi-theme-font: minor-fareast;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 28.5pt;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;script charset=&quot;utf-8&quot; src=&quot;http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/4521319727468799878/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/04/blog-post_20.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/4521319727468799878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/4521319727468799878'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/04/blog-post_20.html' title='我的青春裡，滿滿都是你。'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-ty-yrQfRbyk/U1LkkJAr3EI/AAAAAAAADDY/Zgbcx6OawKU/s72-c/01dc63c541226badd901054ccc9fa1360f97bb744b.jpg" height="72" width="72"/><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-2161805816543848628</id><published>2014-04-20T03:00:00.001+08:00</published><updated>2014-04-20T04:00:22.784+08:00</updated><title type='text'>致莫明其妙卻一定有答案的排列組合</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height:2.4em; &quot;&gt;&lt;span data-mce-style=&quot;font-size: 14pt; font-family: 新細明體; color: #000000;&quot; style=&quot;font-family: 新細明體; font-size: 14pt;&quot;&gt;　　&lt;img alt=&quot;012c79b5282c9364cccaba8ead03baa1a2c3037d15&quot; border=&quot;0&quot; data-mce-src=&quot;http://pic.pimg.tw/hoyuehchou/1397903613-2078788646_l.jpg?v=1397903615&quot; src=&quot;http://pic.pimg.tw/hoyuehchou/1397903613-2078788646_l.jpg?v=1397903615&quot; height=&quot;640&quot; style=&quot;border: 0px;&quot; title=&quot;012c79b5282c9364cccaba8ead03baa1a2c3037d15&quot; width=&quot;480&quot; /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0cm;&quot;&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;　　因為九把刀最近在幫忙怕《等一個人咖啡》的電影，所以趁著放复活假的空閒，特意拜讀了一下。&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: 仿宋; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0cm;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0cm;&quot;&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;　　結果，當然是，&lt;/span&gt;&lt;strong&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: 仿宋; font-size: 24pt;&quot;&gt;異常感動&lt;/span&gt;&lt;/strong&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: 仿宋; font-size: 24pt;&quot;&gt;！！！&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: 仿宋; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0cm;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 200%; margin-bottom: .0001pt; margin: 0cm;&quot;&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: 仿宋; font-size: 14pt; line-height: 200%;&quot;&gt;　　居然自顧自地跑來寫感想，這種大概只有中學課業才會有的東西。&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: 仿宋; font-size: 9pt; line-height: 200%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0cm;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0cm;&quot;&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;　　應該說，我第一次認識九把刀，是在高一的時候，媒介當然是當時爆紅的《那些年》。而後，就跑過去把《獵命師傳奇》卷一到卷十九全都看了一遍。在今月頭的時候，還特意去買了最終卷。一套小說，看了我九年。最後，小說首部曲看完了，人也長大了。&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: 仿宋; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0cm;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0cm;&quot;&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: 仿宋; font-size: 14pt;&quot;&gt;　　但無論是&lt;/span&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: 仿宋; font-size: 14.5pt;&quot;&gt;《那些年，我們一起追的女孩》，還是《獵命師傳奇》，我都覺得無法彰顯那種峯回路轉的感覺，或許這就是虛構的愛情小說的魅力。與《那些年》不同，《等一個人咖啡》可以不遵事實地折射出九把刀對愛情的一些詮釋。&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: 仿宋; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0cm;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0cm;&quot;&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: 仿宋; font-size: 14.5pt;&quot;&gt;　　愛情，可以讓一個人死去活來，但誰又知道接下來會怎麼樣。&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: 仿宋; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0cm;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0cm;&quot;&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: 仿宋; font-size: 14.5pt;&quot;&gt;　　思螢與其它愛情小說如《天使街二十三號》和《惡作劇之吻》的女主角又很不同，她很真實，而不是為了滿足不確定大多數讀者的幻想。《等一個人咖啡》與《挪威的森林》中文譯本那種淡淡冷冷的描寫也不同，書中的的碓碓有很多波瀾壯闊的感情大爆發和愛情應有的溫馨場面。&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: 仿宋; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0cm;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0cm;&quot;&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: 仿宋; font-size: 14.5pt;&quot;&gt;　　可以劇透的是，故事開始的時候我所想的圓滿應有的東西，和故事到了一半的時候我所想的圓滿應有的東西，和最後的圓滿結局有的東西，截然不同。而故事中那種未能預測的圓满，我超想在我的現實生活中也可以發生。&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: 仿宋; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0cm;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: .0001pt; margin: 0cm;&quot;&gt;&lt;span lang=&quot;ZH-TW&quot; style=&quot;font-family: 仿宋; font-size: 14.5pt;&quot;&gt;　　但畢竟，在產生排列組合這種怪問題以前，答案就已經產生了。&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: 仿宋; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span data-mce-style=&quot;font-size: 14pt; font-family: 新細明體; color: #000000;&quot; style=&quot;font-family: 新細明體; font-size: 14pt;&quot;&gt;&lt;span data-mce-style=&quot;font-size: 24pt;&quot; style=&quot;font-size: 24pt;&quot;&gt;&lt;span data-mce-style=&quot;font-size: 14pt;&quot; style=&quot;font-size: 14pt;&quot;&gt;&lt;span data-mce-style=&quot;font-size: 19px;&quot; style=&quot;font-size: 19px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;span data-mce-style=&quot;font-size: 14pt; font-family: 新細明體; color: #000000;&quot; style=&quot;font-family: 新細明體; font-size: 14pt;&quot;&gt;&lt;span data-mce-style=&quot;font-size: 24pt;&quot; style=&quot;font-size: 24pt;&quot;&gt;&lt;span data-mce-style=&quot;font-size: 14pt;&quot; style=&quot;font-size: 14pt;&quot;&gt;&lt;span data-mce-style=&quot;font-size: 19px;&quot; style=&quot;font-size: 19px;&quot;&gt;&lt;img alt=&quot;那些年影帶&quot; border=&quot;0&quot; data-mce-src=&quot;http://pic.pimg.tw/hoyuehchou/1397903252-2609577241_l.jpg?v=1397903256&quot; src=&quot;http://pic.pimg.tw/hoyuehchou/1397903252-2609577241_l.jpg?v=1397903256&quot; style=&quot;border: 0px; cursor: default;&quot; title=&quot;那些年影帶&quot; /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;script charset=&quot;utf-8&quot; src=&quot;http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/2161805816543848628/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/04/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/2161805816543848628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/2161805816543848628'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/04/blog-post.html' title='致莫明其妙卻一定有答案的排列組合'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-5123453516017982749</id><published>2014-04-04T18:51:00.000+08:00</published><updated>2014-04-04T18:51:37.200+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++ e.g"/><category scheme="http://www.blogger.com/atom/ns#" term="c++ 理解題"/><category scheme="http://www.blogger.com/atom/ns#" term="zerojudge"/><title type='text'>zero judge a273: 小朋友下樓梯</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; height: 50px; text-align: center;&quot;&gt;&lt;div style=&quot;float: left; margin: auto; width: 798.703125px;&quot;&gt;&lt;span class=&quot;ShowProblem&quot; style=&quot;font-size: 24px; font-weight: bold;&quot;&gt;a273:&amp;nbsp;&lt;span id=&quot;problem_title&quot;&gt;小朋友下樓梯&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px;&quot;&gt;&lt;strong&gt;Content ：&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; id=&quot;problem_content&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;&lt;div&gt;有一個小朋友，站在第 n 階樓梯上，他一次能，而且只能，往下跳 k 個階梯，請問他能順利跳到第 0 階嗎？&lt;/div&gt;&lt;div&gt;舉例來說，小朋友一開始在第 n=9 階上，而他一次能往下跳 k=3 個階梯，那麼，他就會 9 -&amp;gt; 6 -&amp;gt; 3 -&amp;gt; 0 順利到達第 0 階。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px;&quot;&gt;&lt;strong&gt;Input ：&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; id=&quot;problem_theinput&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;輸入的每一行分別有兩個數字，n 和 k ( 0 &amp;lt;= n, k &amp;lt;= 2^31-1 )。&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px;&quot;&gt;&lt;strong&gt;Output ：&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; id=&quot;problem_theoutput&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;如果可以，請輸出「Ok!」，否則請輸出「Impossib1e!」。&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 16px;&quot;&gt;&lt;strong&gt;Sample Input ：&amp;nbsp;&lt;/strong&gt;&lt;img alt=&quot;help&quot; src=&quot;http://163.32.92.12/images/help.png&quot; style=&quot;border: 0px;&quot; /&gt;&lt;div class=&quot;hint&quot; id=&quot;sampleinputhint&quot; style=&quot;background-color: honeydew; border: 1px dotted rgb(51, 102, 0); font-size: 11px; padding: 6px; position: absolute; visibility: hidden;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;pre&gt;9 3&lt;br /&gt;9 2&lt;br /&gt;13 5&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 16px;&quot;&gt;&lt;strong&gt;Sample Output ：&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;&lt;pre&gt;Ok!&lt;br /&gt;Impossib1e!&lt;br /&gt;Impossib1e!&lt;/pre&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px;&quot;&gt;&lt;strong&gt;Hint ：&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; id=&quot;problem_hint&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px;&quot;&gt;&lt;strong&gt;Author ：&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;&lt;form action=&quot;http://163.32.92.12/Problems&quot; method=&quot;post&quot; name=&quot;reference_form&quot; style=&quot;display: inline;&quot;&gt;&lt;span class=&quot;FakeLink&quot; id=&quot;search_reference&quot;&gt;&lt;/span&gt;&lt;/form&gt;(管理：&lt;a href=&quot;http://163.32.92.12/UserStatistic?account=VacationClub&quot; style=&quot;color: #001199; font-size: 1em; text-decoration: none;&quot;&gt;VacationClub&lt;/a&gt;)&lt;/div&gt;/**********************************************************************************/&lt;br /&gt;/* &amp;nbsp;Problem: a273 &quot;小朋友下樓梯&quot; from &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */&lt;br /&gt;/* &amp;nbsp;Language: CPP (319 Bytes) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */&lt;br /&gt;/* &amp;nbsp;Result: AC(4ms, 360KB) judge by this@ZeroJudge &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/&lt;br /&gt;/* &amp;nbsp;Author: heyuezhouc at 2014-04-04 18:16:57 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */&lt;br /&gt;/**********************************************************************************/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#include&amp;lt;iostream&amp;gt;&lt;br /&gt;using namespace std;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;int n,k;&lt;br /&gt;&amp;nbsp;while (cin&amp;gt;&amp;gt;n&amp;gt;&amp;gt;k)&lt;br /&gt;&amp;nbsp; if (k==0&amp;amp;&amp;amp;n!=0) &amp;nbsp;cout&amp;lt;&amp;lt;&quot;Impossib1e!&quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;&amp;nbsp; &amp;nbsp;else&lt;br /&gt;&amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (n==0)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{cout&amp;lt;&amp;lt;&quot;Ok!&quot;&amp;lt;&amp;lt;endl;continue;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (n%k==0)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;Ok!&quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Impossib1e!&quot;&amp;lt;&amp;lt;endl;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;&amp;nbsp; }&lt;br /&gt;}&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;script charset=&quot;utf-8&quot; src=&quot;http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/5123453516017982749/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/04/zero-judge-a273.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/5123453516017982749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/5123453516017982749'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/04/zero-judge-a273.html' title='zero judge a273: 小朋友下樓梯'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-3808810370829755701.post-4501035942652885404</id><published>2014-03-28T20:10:00.001+08:00</published><updated>2014-03-28T20:11:16.057+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++ e.g"/><category scheme="http://www.blogger.com/atom/ns#" term="c++ 理解題"/><category scheme="http://www.blogger.com/atom/ns#" term="zerojudge"/><title type='text'>zero judge b204: C. 電費系統 2008 NPSC 國中組初賽</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; height: 50px; text-align: center;&quot;&gt;&lt;div style=&quot;float: left; margin: auto; width: 798.703125px;&quot;&gt;&lt;span class=&quot;ShowProblem&quot; style=&quot;font-size: 24px; font-weight: bold;&quot;&gt;b204:&amp;nbsp;&lt;span id=&quot;problem_title&quot;&gt;C. 電費系統&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; text-align: center;&quot; /&gt;&lt;div style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 12px; margin: auto; text-align: right; width: 1083px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px;&quot;&gt;&lt;strong&gt;Content ：&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; id=&quot;problem_content&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;假設你身為一個台電工程師，你正要為 GOGO 百貨的電梯設計一套電費計算系統，來計算GOGO 百貨的電梯每天所耗的電費是多少。已知電梯所耗的電力會和它所運作的樓層成正比，但是電梯下樓比上樓要省電。所以想請你根據下面這個規則，設計一套電費計算系統。&lt;br /&gt;(1) 電梯上樓時，每經過一個樓層，要花電費 20 元。&lt;br /&gt;(2) 電梯下樓時，每經過一個樓層，要花電費 10 元。&lt;br /&gt;(3) 你可以假設電梯停在某一個樓層時不會耗電。&lt;br /&gt;舉例來說：今天有一個電梯從2 樓到8 樓再到5 樓，則所耗的電費為：從2樓到8 樓，所耗的電費是(8-2) x 20 = 120 元。電梯從8 樓到5 樓，所耗的電費是(8-5) x 10 = 30 元。所以總共花了150 元。&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px;&quot;&gt;&lt;strong&gt;Input ：&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; id=&quot;problem_theinput&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;輸入檔中會有多筆資料，第一行是一個整數 N(1&amp;lt;N&amp;lt;=50)，用來表示某一天中電梯所停過的樓層數。第二行是一組以空白分隔的N 個數字，分別表示電梯先後停過的樓層。&lt;br /&gt;N=0 的時候，程式結束。&lt;br /&gt;輸入測資中的電梯樓層最高不會超過 101 樓。&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px;&quot;&gt;&lt;strong&gt;Output ：&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; id=&quot;problem_theoutput&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;請根據電梯上下運作的樓層，計算出在一日中電梯運作所花的電費。（為了節能減碳，每日電費最高不會超過10,000 元。）&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 16px;&quot;&gt;&lt;strong&gt;Sample Input ：&amp;nbsp;&lt;/strong&gt;&lt;img alt=&quot;help&quot; src=&quot;http://zerojudge.tw/images/help.png&quot; style=&quot;border: 0px;&quot; /&gt;&lt;br /&gt;&lt;div class=&quot;hint&quot; id=&quot;sampleinputhint&quot; style=&quot;background-color: honeydew; border: 1px dotted rgb(51, 102, 0); font-size: 11px; padding: 6px; position: absolute; visibility: hidden;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;margin: 0px 2em 0px 1em;&quot;&gt;&lt;pre&gt;3&lt;br /&gt;2 8 5&lt;br /&gt;7&lt;br /&gt;2 9 7 3 4 6 1&lt;br /&gt;0&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 16px;&quot;&gt;&lt;strong&gt;Sample Output ：&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;&lt;pre&gt;150&lt;br /&gt;310&lt;/pre&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px;&quot;&gt;&lt;strong&gt;Hint ：&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; id=&quot;problem_hint&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px;&quot;&gt;&lt;strong&gt;Author ：&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;problembox&quot; style=&quot;color: #666666; font-family: 微軟正黑體, &#39;Microsoft JhengHei&#39;, Tahoma, arial, PMingLiU, 新細明體, 微軟雅黑體, sans-serif; font-size: 16px; margin: 0px 2em 0px 1em;&quot;&gt;&lt;form action=&quot;http://zerojudge.tw/Problems&quot; method=&quot;post&quot; name=&quot;reference_form&quot; style=&quot;display: inline;&quot;&gt;&lt;span class=&quot;FakeLink&quot; id=&quot;search_reference&quot;&gt;2008 NPSC 國中組初賽&lt;/span&gt;&lt;/form&gt;&lt;/div&gt;/**********************************************************************************/&lt;br /&gt;/* &amp;nbsp;Problem: b204 &quot;C. 電費系統&quot; from 2008 NPSC 國中組初賽 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/&lt;br /&gt;/* &amp;nbsp;Language: CPP (448 Bytes) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */&lt;br /&gt;/* &amp;nbsp;Result: AC(4ms, 420KB) judge by this@ZeroJudge &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/&lt;br /&gt;/* &amp;nbsp;Author: heyuezhouc at 2014-03-28 20:09:11 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; */&lt;br /&gt;/**********************************************************************************/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#include&amp;lt;iostream&amp;gt;&lt;br /&gt;#include&amp;lt;queue&amp;gt;&lt;br /&gt;using namespace std;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;int n;&lt;br /&gt;&amp;nbsp;queue&amp;lt;int&amp;gt; que;&lt;br /&gt;&amp;nbsp;while (cin&amp;gt;&amp;gt;n&amp;amp;&amp;amp;n!=0)&lt;br /&gt;&amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp;int d,ans=0;&lt;br /&gt;&amp;nbsp; &amp;nbsp;for (int i=0;i&amp;lt;n;i++)&lt;br /&gt;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; cin&amp;gt;&amp;gt;d; que.push(d);&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; int a=que.front(); que.pop();&lt;br /&gt;&amp;nbsp; &amp;nbsp; while (!que.empty())&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; int b=que.front(); que.pop();&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; int c=b-a;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if (c&amp;gt;0) {ans+=c*20;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if (c&amp;lt;0) {ans+=c*-10;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; a=b;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;ans&amp;lt;&amp;lt;endl;&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;font-family: Tahoma, arial, sans-serif; font-size: 16px; margin: auto; width: 1068.75px;&quot;&gt;&lt;div class=&quot;dp-highlighter&quot; style=&quot;background-color: #e7e5dc; font-family: Consolas, &#39;Courier New&#39;, Courier, mono, serif; font-size: 12px; margin: 18px 0px !important; overflow: auto; padding-top: 1px; width: 1058.0625px;&quot;&gt;&lt;div class=&quot;bar&quot; style=&quot;padding-left: 45px;&quot;&gt;&lt;div class=&quot;tools&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-left-width: 3px; color: silver; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; padding: 3px 8px 10px 10px;&quot;&gt;&lt;a href=&quot;http://www.tcgs.tc.edu.tw:1218/ShowCode?solutionid=117166#&quot; style=&quot;background-color: inherit; background-image: none; background-position: initial initial; background-repeat: initial initial; border: none; color: #a0a0a0; font-size: 9px; margin: 0px 10px 0px 0px; padding: 0px; text-decoration: none;&quot;&gt;view plain&lt;/a&gt;&lt;a href=&quot;http://www.tcgs.tc.edu.tw:1218/ShowCode?solutionid=117166#&quot; style=&quot;background-color: inherit; background-image: none; background-position: initial initial; background-repeat: initial initial; border: none; color: #a0a0a0; font-size: 9px; margin: 0px 10px 0px 0px; padding: 0px; text-decoration: none;&quot;&gt;print&lt;/a&gt;&lt;a href=&quot;http://www.tcgs.tc.edu.tw:1218/ShowCode?solutionid=117166#&quot; style=&quot;background-color: inherit; background-image: none; background-position: initial initial; background-repeat: initial initial; border: none; color: #a0a0a0; font-size: 9px; margin: 0px 10px 0px 0px; padding: 0px; text-decoration: none;&quot;&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class=&quot;dp-cpp&quot; start=&quot;1&quot; style=&quot;background-color: white; border: none; color: #5c5c5c; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1px 45px !important; padding: 0px;&quot;&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: inherit; border: none; color: #008200; margin: 0px; padding: 0px;&quot;&gt;/**********************************************************************************/&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: inherit; border: none; color: #008200; margin: 0px; padding: 0px;&quot;&gt;/*&amp;nbsp;&amp;nbsp;Problem:&amp;nbsp;g041&amp;nbsp;&quot;C.電費系統&quot;&amp;nbsp;from&amp;nbsp;NPSC&amp;nbsp;2008&amp;nbsp;國中組初賽&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*/&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: inherit; border: none; color: #008200; margin: 0px; padding: 0px;&quot;&gt;/*&amp;nbsp;&amp;nbsp;Language:&amp;nbsp;C++&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*/&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: inherit; border: none; color: #008200; margin: 0px; padding: 0px;&quot;&gt;/*&amp;nbsp;&amp;nbsp;Result:&amp;nbsp;AC&amp;nbsp;(4ms,&amp;nbsp;200KB)&amp;nbsp;on&amp;nbsp;ZeroJudge&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*/&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: inherit; border: none; color: #008200; margin: 0px; padding: 0px;&quot;&gt;/*&amp;nbsp;&amp;nbsp;Author:&amp;nbsp;heyuezhouc&amp;nbsp;at&amp;nbsp;2014-03-28&amp;nbsp;20:10:21&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*/&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: inherit; border: none; color: #008200; margin: 0px; padding: 0px;&quot;&gt;/**********************************************************************************/&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;preprocessor&quot; style=&quot;background-color: inherit; border: none; color: grey; margin: 0px; padding: 0px;&quot;&gt;#include&amp;lt;iostream&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;preprocessor&quot; style=&quot;background-color: inherit; border: none; color: grey; margin: 0px; padding: 0px;&quot;&gt;#include&amp;lt;queue&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;namespace&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;std;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;main()&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;n;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;queue&amp;lt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;gt;&amp;nbsp;que;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;while&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;(cin&amp;gt;&amp;gt;n&amp;amp;&amp;amp;n!=0)&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;d,ans=0;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;(&lt;/span&gt;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;i=0;i&amp;lt;n;i++)&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cin&amp;gt;&amp;gt;d;&amp;nbsp;que.push(d);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;a=que.front();&amp;nbsp;que.pop();&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;while&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;(!que.empty())&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;b=que.front();&amp;nbsp;que.pop();&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;datatypes&quot; style=&quot;background-color: inherit; border: none; color: seagreen; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;c=b-a;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;(c&amp;gt;0)&amp;nbsp;{ans+=c*20;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;background-color: inherit; border: none; color: #006699; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;background-color: inherit; border: none; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;(c&amp;lt;0)&amp;nbsp;{ans+=c*-10;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;a=b;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;cout&amp;lt;&amp;lt;ans&amp;lt;&amp;lt;endl;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; color: inherit; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-width: 3px; border-style: none none none solid; line-height: 14px; list-style: decimal-leading-zero outside; margin: 0px !important; padding: 0px 3px 0px 10px !important;&quot;&gt;&lt;span style=&quot;background-color: inherit; border: none; color: black; margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;script charset=&quot;utf-8&quot; src=&quot;http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://heyuezhou.blogspot.com/feeds/4501035942652885404/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://heyuezhou.blogspot.com/2014/03/zero-judge-b204-c.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/4501035942652885404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808810370829755701/posts/default/4501035942652885404'/><link rel='alternate' type='text/html' href='http://heyuezhou.blogspot.com/2014/03/zero-judge-b204-c.html' title='zero judge b204: C. 電費系統 2008 NPSC 國中組初賽'/><author><name>YUEHCHOW HO</name><uri>https://plus.google.com/105272464838491489228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-qx28jO-HpS4/AAAAAAAAAAI/AAAAAAAADAw/YPOt7zBYVXI/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry></feed>