<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Practice Make Perfect!</title>
	<atom:link href="http://sinauyuk.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sinauyuk.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 06 Feb 2011 06:21:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sinauyuk.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Practice Make Perfect!</title>
		<link>http://sinauyuk.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sinauyuk.wordpress.com/osd.xml" title="Practice Make Perfect!" />
	<atom:link rel='hub' href='http://sinauyuk.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Ukhuwah-created by unknown</title>
		<link>http://sinauyuk.wordpress.com/2011/02/06/ukhuwah-created-by-unknown/</link>
		<comments>http://sinauyuk.wordpress.com/2011/02/06/ukhuwah-created-by-unknown/#comments</comments>
		<pubDate>Sun, 06 Feb 2011 06:21:39 +0000</pubDate>
		<dc:creator>dzikrina</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sinauyuk.wordpress.com/?p=121</guid>
		<description><![CDATA[Bersama kita menjalin rasa ukhuwwah Yang telah bersemi Berawal dari rasa cinta Ilahi Menjelma rasa cinta sejati Seindah senyum manis Matahari bersinar semarakkan pagi Dedaunan melambai hijau nan berseri Kicauan burung damaikan hati Oo.. berpadulah, hapuskan sgala rasa amarah Pupus sudah rasa dendam padamkan bara api permusuhan Sesegar mawar bertaburan, harum mewangi rasa persaudaraan&#8230;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=121&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://sinauyuk.files.wordpress.com/2011/02/6136_101249119889145_100000121736014_33109_6139543_n.jpg"><img src="http://sinauyuk.files.wordpress.com/2011/02/6136_101249119889145_100000121736014_33109_6139543_n.jpg?w=300&#038;h=225" alt="" title="6136_101249119889145_100000121736014_33109_6139543_n" width="300" height="225" class="alignnone size-medium wp-image-122" /></a><br />
Bersama kita menjalin rasa ukhuwwah<br />
Yang telah bersemi<br />
Berawal dari rasa cinta Ilahi<br />
Menjelma rasa cinta sejati </p>
<p>Seindah senyum manis<br />
Matahari bersinar semarakkan pagi<br />
Dedaunan melambai hijau nan berseri<br />
Kicauan burung damaikan hati </p>
<p>Oo.. berpadulah,<br />
hapuskan sgala rasa amarah<br />
Pupus sudah rasa dendam<br />
padamkan bara api permusuhan<br />
Sesegar mawar bertaburan,<br />
harum mewangi rasa persaudaraan&#8230; </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sinauyuk.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sinauyuk.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sinauyuk.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sinauyuk.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sinauyuk.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sinauyuk.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sinauyuk.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sinauyuk.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sinauyuk.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sinauyuk.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sinauyuk.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sinauyuk.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sinauyuk.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sinauyuk.wordpress.com/121/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=121&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sinauyuk.wordpress.com/2011/02/06/ukhuwah-created-by-unknown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb5bcbeeac49e7fc206921c738496536?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dzikrina22</media:title>
		</media:content>

		<media:content url="http://sinauyuk.files.wordpress.com/2011/02/6136_101249119889145_100000121736014_33109_6139543_n.jpg?w=300" medium="image">
			<media:title type="html">6136_101249119889145_100000121736014_33109_6139543_n</media:title>
		</media:content>
	</item>
		<item>
		<title>Crazy Phytagoras</title>
		<link>http://sinauyuk.wordpress.com/2010/10/29/crazy-phytagoras/</link>
		<comments>http://sinauyuk.wordpress.com/2010/10/29/crazy-phytagoras/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 10:31:34 +0000</pubDate>
		<dc:creator>dzikrina</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://sinauyuk.wordpress.com/?p=117</guid>
		<description><![CDATA[//checking phytagoras rectangle #include #include #include using namespace std; int main() { int input[3]; int sum, C; while (cin &#62;&#62; input[0] &#62;&#62; input[1] &#62;&#62; input[2]) { if ( (input[0]== 0) &#38;&#38; (input[1] == 0) &#38;&#38; (input[2]== 0)) break; sort( input, input+3 ); sum = ( (input[0]*input[0])+(input[1]*input[1])); C = (input[2]*input[2]); if ( sum == C) cout [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=117&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><code>//checking phytagoras rectangle</p>
<p>#include<br />
#include<br />
#include </p>
<p>using namespace std;<br />
int main()<br />
{<br />
    int input[3];<br />
    int sum, C;</p>
<p>    while (cin &gt;&gt; input[0] &gt;&gt; input[1] &gt;&gt; input[2])<br />
    {</p>
<p>          if ( (input[0]== 0) &amp;&amp; (input[1] == 0) &amp;&amp; (input[2]== 0))<br />
          break;</p>
<p>          sort( input, input+3 );</p>
<p>          sum = ( (input[0]*input[0])+(input[1]*input[1]));<br />
          C = (input[2]*input[2]);</p>
<p>          if ( sum == C)<br />
               cout &lt;&lt; &quot;right&quot; &lt;&lt; endl;<br />
               else<br />
               cout &lt;&lt; &quot;wrong&quot; &lt;&lt; endl;</p>
<p>    }</p>
<p>    return 0;</p>
<p>}<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sinauyuk.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sinauyuk.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sinauyuk.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sinauyuk.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sinauyuk.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sinauyuk.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sinauyuk.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sinauyuk.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sinauyuk.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sinauyuk.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sinauyuk.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sinauyuk.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sinauyuk.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sinauyuk.wordpress.com/117/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=117&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sinauyuk.wordpress.com/2010/10/29/crazy-phytagoras/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb5bcbeeac49e7fc206921c738496536?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dzikrina22</media:title>
		</media:content>
	</item>
		<item>
		<title>11388 gcd lcm</title>
		<link>http://sinauyuk.wordpress.com/2010/10/23/11388-gcd-lcm/</link>
		<comments>http://sinauyuk.wordpress.com/2010/10/23/11388-gcd-lcm/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 16:57:12 +0000</pubDate>
		<dc:creator>dzikrina</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sinauyuk.wordpress.com/?p=111</guid>
		<description><![CDATA[//http://uva.onlinejudge.org/external/113/11388.html //http://github.com/andmej/acm/tree/master/11388%20-%20GCD%20LCM //11388 PROBLEM d: gcd lcm #include using namespace std; int main() { int t; unsigned int g, l; cin &#62;&#62; t; while (t--) { cin &#62;&#62; g &#62;&#62; l; if ( g &#62; l &#124;&#124; l % g != 0) cout &#60;&#60; &#34;-1&#34; &#60;&#60; endl; else cout &#60;&#60; g &#60;&#60; &#34; &#34; &#60;&#60; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=111&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><code>//http://uva.onlinejudge.org/external/113/11388.html<br />
//http://github.com/andmej/acm/tree/master/11388%20-%20GCD%20LCM</p>
<p>//11388 PROBLEM d: gcd lcm<br />
#include </p>
<p>using namespace std;</p>
<p>int main()<br />
{<br />
    int t;<br />
    unsigned int g, l;</p>
<p>    cin &gt;&gt; t;<br />
    while (t--)<br />
    {<br />
        cin &gt;&gt; g &gt;&gt; l;<br />
        if ( g &gt; l || l % g != 0)<br />
            cout &lt;&lt; &quot;-1&quot; &lt;&lt; endl;<br />
        else<br />
            cout &lt;&lt; g &lt;&lt; &quot; &quot; &lt;&lt; l &lt;&lt; endl;</p>
<p>    }</p>
<p>//system (&quot;pause&quot;);<br />
return 0;<br />
}</p>
<p></code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sinauyuk.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sinauyuk.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sinauyuk.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sinauyuk.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sinauyuk.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sinauyuk.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sinauyuk.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sinauyuk.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sinauyuk.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sinauyuk.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sinauyuk.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sinauyuk.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sinauyuk.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sinauyuk.wordpress.com/111/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=111&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sinauyuk.wordpress.com/2010/10/23/11388-gcd-lcm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb5bcbeeac49e7fc206921c738496536?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dzikrina22</media:title>
		</media:content>
	</item>
		<item>
		<title>11636</title>
		<link>http://sinauyuk.wordpress.com/2010/10/23/11636/</link>
		<comments>http://sinauyuk.wordpress.com/2010/10/23/11636/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 14:46:30 +0000</pubDate>
		<dc:creator>dzikrina</dc:creator>
				<category><![CDATA[UVA]]></category>

		<guid isPermaLink="false">http://sinauyuk.wordpress.com/?p=107</guid>
		<description><![CDATA[//http://uva.onlinejudge.org/external/116/11636.html // 11636 Hello World! #include #include using namespace std; int main() { int mycase=0, N; double k; while (1) { cin &#62;&#62; N; if (N &#60;0) break; k = ceil(log(N)/log(2)); int i=0; mycase ++; cout &#60;&#60;&#34;Case &#34; &#60;&#60; mycase &#60;&#60; &#34;: &#34; &#60;&#60; k &#60;&#60; endl; } return 0; }<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=107&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>//http://uva.onlinejudge.org/external/116/11636.html<br />
<code>// 11636 Hello World!<br />
#include<br />
#include<br />
using namespace std;</p>
<p>int main()</p>
<p>{<br />
    int mycase=0, N;<br />
    double k;</p>
<p>        while (1)<br />
        {<br />
              cin &gt;&gt; N;<br />
              if (N &lt;0)<br />
                 break;<br />
              k = ceil(log(N)/log(2));<br />
              int i=0;<br />
              mycase ++;<br />
              cout &lt;&lt;&quot;Case &quot; &lt;&lt; mycase &lt;&lt; &quot;: &quot; &lt;&lt; k &lt;&lt; endl;<br />
        }<br />
    return 0;<br />
}<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sinauyuk.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sinauyuk.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sinauyuk.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sinauyuk.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sinauyuk.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sinauyuk.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sinauyuk.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sinauyuk.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sinauyuk.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sinauyuk.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sinauyuk.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sinauyuk.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sinauyuk.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sinauyuk.wordpress.com/107/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=107&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sinauyuk.wordpress.com/2010/10/23/11636/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb5bcbeeac49e7fc206921c738496536?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dzikrina22</media:title>
		</media:content>
	</item>
		<item>
		<title>BIG MODULUS C++</title>
		<link>http://sinauyuk.wordpress.com/2010/05/07/big-modulus-c/</link>
		<comments>http://sinauyuk.wordpress.com/2010/05/07/big-modulus-c/#comments</comments>
		<pubDate>Fri, 07 May 2010 10:03:21 +0000</pubDate>
		<dc:creator>dzikrina</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sinauyuk.wordpress.com/?p=105</guid>
		<description><![CDATA[#include //#include using namespace std; typedef long long LL; LL A,B,C; LL recur(LL b){ //cout&#60;&#60;b&#60;&#60;endl; if(b==1) return A%C; LL t1 = recur(b/2); t1 = (t1*t1)%C; if(b%2==1) t1 = (t1*A)%C; return t1; } /*LL pow(LL X,int p){ LL ret = 1; for(int i=0;i&#60;p;++i) ret=(ret*X)%C; return ret; } LL recur10(LL b){ if(b&#60;10) return pow(A,b); LL t1 = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=105&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>#include<br />
//#include </p>
<p>using namespace std;</p>
<p>typedef long long LL;</p>
<p>LL A,B,C;</p>
<p>LL recur(LL b){<br />
    //cout&lt;&lt;b&lt;&lt;endl;<br />
    if(b==1) return A%C;<br />
    LL t1 = recur(b/2);<br />
    t1 = (t1*t1)%C;<br />
    if(b%2==1) t1 = (t1*A)%C;<br />
    return t1;<br />
}</p>
<p>/*LL pow(LL X,int p){<br />
    LL ret = 1;<br />
    for(int i=0;i&lt;p;++i) ret=(ret*X)%C;<br />
    return ret;<br />
}</p>
<p>LL recur10(LL b){<br />
    if(b&lt;10) return pow(A,b);<br />
    LL t1 = recur10(b/10);<br />
    t1 = pow(t1,10);<br />
    for(int i=0;i<b>&gt; T;</p>
<p>    for (int i=0; i&gt;A &gt;&gt; B &gt;&gt; C;<br />
        cout&lt;&lt;recur(B)&lt;&lt;endl;</p>
<p>    }<br />
    //system(&quot;pause&quot;);<br />
    return 0;<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sinauyuk.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sinauyuk.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sinauyuk.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sinauyuk.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sinauyuk.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sinauyuk.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sinauyuk.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sinauyuk.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sinauyuk.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sinauyuk.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sinauyuk.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sinauyuk.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sinauyuk.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sinauyuk.wordpress.com/105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=105&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sinauyuk.wordpress.com/2010/05/07/big-modulus-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb5bcbeeac49e7fc206921c738496536?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dzikrina22</media:title>
		</media:content>
	</item>
		<item>
		<title>practice contest 22/1/2010</title>
		<link>http://sinauyuk.wordpress.com/2010/01/22/practice-contest-2212010/</link>
		<comments>http://sinauyuk.wordpress.com/2010/01/22/practice-contest-2212010/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 11:18:32 +0000</pubDate>
		<dc:creator>dzikrina</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sinauyuk.wordpress.com/?p=103</guid>
		<description><![CDATA[http://acm.tju.edu.cn/toj/vcontest/contest5472.html PROBLEM B B. Serious Cow Tag /* TASK: LANG: C++ USER: smilitude1 */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; struct data { int x,y; } ; int main() { data d[1005]; int n; bool ok[1005]; SET( ok, 0 ); [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=103&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>http://acm.tju.edu.cn/toj/vcontest/contest5472.html</p>
<p>PROBLEM B<br />
B.   Serious Cow Tag<br />
<code><br />
/*<br />
TASK:<br />
LANG: C++<br />
USER: smilitude1<br />
*/</p>
<p>#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
<map>
#include<br />
using namespace std;</p>
<p>struct data { int x,y; } ;</p>
<p>int main() {<br />
	data d[1005];<br />
	int n;<br />
	bool ok[1005]; SET( ok, 0 );<br />
	scanf("%d",&amp;n);<br />
	for(int i=0; i&lt;n; i++) scanf(&quot;%d %d&quot;,&amp;d[i].x,  &amp;d[i].y);<br />
	int st = -1;</p>
<p>    for(int t=0; t&lt;n-1; t++) {<br />
		int mindist, id;<br />
		mindist = -1;<br />
		++ st, st %= n;<br />
		while( ok[ st ] ) ++st, st %= n;<br />
		for(int i=0; i&lt;n; i++) if( !ok[i] &amp;&amp; i != st ) {<br />
			int dist = ( d[i].x - d[st].x ) * ( d[i].x - d[st].x ) + ( d[i].y - d[st].y ) * ( d[i].y - d[st].y );<br />
			if( mindist == -1 || dist &lt; mindist ) mindist = dist, id = i;<br />
		}<br />
		ok[ id ] = true;<br />
	}</p>
<p>	for(int i=0; i&lt;n; i++) if( !ok[i] ) printf(&quot;%d\n&quot;,i+1);</p>
<p>	return 0;<br />
}</p>
<p>PROBLEM C<br />
 The Flower Garden</p>
<p>#include<br />
using namespace std;</p>
<p>int main()<br />
{<br />
//    freopen("in.txt","r",stdin);<br />
//    freopen("out.txt","w",stdout);</p>
<p>    int row,garden[10010],numr;<br />
    int sslot, seq, count=0;</p>
<p>    cin &gt;&gt; row;<br />
    cin &gt;&gt; numr;</p>
<p>     for (int j=0; j&lt;row; j++) garden[j]=0;</p>
<p>    for (int i=0; i&gt; sslot;<br />
        cin &gt;&gt; seq;</p>
<p>        for (int k=(sslot-1); k&lt;row; k+=seq)<br />
            garden [k]=1;<br />
    }</p>
<p>    int ans = 0;<br />
    for(int i=0; i&lt;row; i++) if( garden[i] == 0 ) ans ++;<br />
    cout &lt;&lt; ans &lt;&lt; endl;</p>
<p>return 0;<br />
}</p>
<p>PROBLEM D<br />
Sudoku</p>
<p>#include<br />
#include<br />
#include<br />
#include</p>
<p>#include<br />
#include<br />
#include<br />
#include</p>
<p>#include<br />
#include<br />
#include<br />
#include<br />
<map>
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
using namespace std;</p>
<p>int main() {<br />
    int total, nflower;</p>
<p>    while( scanf("%d%d",&amp;total, &amp;nflower ) == 2 ) {<br />
        bool flag[total+1];<br />
        int a,b;<br />
        memset( flag, 0, sizeof( flag ));</p>
<p>        for(int i=0; i&lt;nflower; i++) {<br />
            scanf(&quot;%d%d&quot;,&amp;a, &amp;b );<br />
            for(int j=a; j&lt;=total; j+=b) flag[j] = true;<br />
        }<br />
        int ans = 0;<br />
        for(int i=1; i&lt;=total; i++)  if(flag[i] == 0 ) ans++;<br />
        printf(&quot;%d\n&quot;,ans);<br />
    }</p>
<p>    return 0;<br />
}</p>
<p>PROBLEM E<br />
RED AND BLACK</p>
<p>/*<br />
TASK: TJU 1851<br />
ALGO: backtracking<br />
LANG: C++<br />
USER: smilitude</p>
<p>TIME:<br />
*/</p>
<p>#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
<map>
#include<br />
using namespace std;</p>
<p>#define REP(i,n) for(int i=0; i&lt;(n); i++)<br />
#define FOR(i,a,b) for( __typeof(b) i=(a); i=(b); i--)<br />
#define SET(t,v) memset((t), (v), sizeof(t))<br />
#define sz size()<br />
#define pb push_back<br />
#define i64 long long<br />
#define ALL(x) x.begin(), x.end()</p>
<p>#define FORIT(i, m) for (__typeof((m).begin()) i=(m).begin(); i!=(m).end(); ++i)<br />
#define REV(x) reverse( ALL( x ) )</p>
<p>#define IO freopen("","r",stdin); freopen("","w",stdout);<br />
#define bug(x) cerr &lt;&lt; __LINE__ &lt;&lt;&quot; &quot;&lt;&lt; #x &quot; = &quot; &lt;&lt; x &lt;&lt; endl</p>
<p>char g[10][10];<br />
int used[3][3][10], row[9][10], col[9][10];<br />
bool done;<br />
int mid = 15;</p>
<p>void print() {<br />
	REP(i,9) {<br />
		REP(j,9) printf(&quot;%d&quot;, g[i][j] );<br />
		puts(&quot;&quot;);<br />
	}<br />
//	puts(&quot;&quot;);<br />
}</p>
<p>void solve( int r, int c ) {<br />
	if( r == 9 ) {<br />
		done = 1;<br />
		print();<br />
	}<br />
	else if( c == 9 ) solve( r+1, 0 );<br />
	else if( g[r][c] != 0 ) solve( r, c+1 );<br />
	else {<br />
		int rr = r/3, cc = c/3;<br />
		FOR(i,1,9) {<br />
			if( row[r][i] || col[c][i] || used[rr][cc][i] ) continue;</p>
<p>			row[r][i] = 1;<br />
			col[c][i] = 1;<br />
			used[rr][cc][i] = 1;</p>
<p>			g[r][c] = i;<br />
			solve( r, c+1 );<br />
			if( done ) return;</p>
<p>			row[r][i] = 0;<br />
			col[c][i] = 0;<br />
			used[rr][cc][i] = 0;<br />
		}<br />
		g[r][c] = 0;<br />
	}<br />
}</p>
<p>int main() {</p>
<p>	int t;</p>
<p>	scanf(&quot;%d&quot;,&amp;t);<br />
	while( t-- ) {<br />
		REP(i,9) scanf(&quot;%s&quot;,g[i]);</p>
<p>		// building<br />
		SET( used, 0 ); SET( row, 0 ); SET( col, 0 );<br />
		REP(r,9) REP(c,9) {<br />
			if( g[r][c] == &#039;0&#039; ) g[r][c] = 0;<br />
			else {<br />
				g[r][c] -= &#039;0&#039;;<br />
				row[r][ g[r][c] ] = 1;<br />
				col[c][ g[r][c] ] = 1;<br />
				used[ r/3 ][ c/3 ][ g[r][c] ] = 1;<br />
			}<br />
		}</p>
<p>		// processing<br />
		done = 0;<br />
		solve(0,0);</p>
<p>	}</p>
<p>	return 0;<br />
}</p>
<p></code><br />
ALL THE CODES BY MY TUTORS, BRO IQRAM N BRO EMIR</p>
<p>IIUM PROGRAMMING TRAINING 2010</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sinauyuk.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sinauyuk.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sinauyuk.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sinauyuk.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sinauyuk.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sinauyuk.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sinauyuk.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sinauyuk.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sinauyuk.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sinauyuk.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sinauyuk.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sinauyuk.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sinauyuk.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sinauyuk.wordpress.com/103/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=103&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sinauyuk.wordpress.com/2010/01/22/practice-contest-2212010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb5bcbeeac49e7fc206921c738496536?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dzikrina22</media:title>
		</media:content>
	</item>
		<item>
		<title>A.   Simple Task</title>
		<link>http://sinauyuk.wordpress.com/2010/01/22/a-simple-task/</link>
		<comments>http://sinauyuk.wordpress.com/2010/01/22/a-simple-task/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 11:12:54 +0000</pubDate>
		<dc:creator>dzikrina</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://sinauyuk.wordpress.com/2010/01/22/a-simple-task/</guid>
		<description><![CDATA[QUESTION #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; int a[205], b[205]; int na, nb; int main() { int t; cin &#62;&#62; t; while( t&#8211; ) { cin &#62;&#62; na; for(int i=0; i&#62; a[i]; cin &#62;&#62; nb; for(int i=0; i&#62; b[i]; int [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=102&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://acm.tju.edu.cn/toj/vcontest/showp5472_A.html"> QUESTION </a><br />
</a></p>
<p>#include<br />
#include<br />
#include<br />
#include</p>
<p>#include<br />
#include<br />
#include<br />
#include</p>
<p>#include<br />
#include<br />
#include<br />
#include<br />
<map>
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
#include<br />
using namespace std;</p>
<p>int a[205], b[205];<br />
int na, nb;</p>
<p>int main() {<br />
    int t;<br />
    cin &gt;&gt; t;</p>
<p>    while( t&#8211; ) {<br />
        cin &gt;&gt; na;<br />
        for(int i=0; i&gt; a[i];<br />
        cin &gt;&gt; nb;<br />
        for(int i=0; i&gt; b[i];</p>
<p>        int ans = 0;<br />
        for(int i=0; i&lt;na; i++)<br />
        for(int j=0; j&lt;nb; j++)<br />
            if( (a[i] + b[j]) == 0 ) ans++;<br />
        cout &lt;&lt; ans &lt;&lt; endl;<br />
    }</p>
<p>    return 0;<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sinauyuk.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sinauyuk.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sinauyuk.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sinauyuk.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sinauyuk.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sinauyuk.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sinauyuk.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sinauyuk.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sinauyuk.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sinauyuk.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sinauyuk.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sinauyuk.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sinauyuk.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sinauyuk.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=102&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sinauyuk.wordpress.com/2010/01/22/a-simple-task/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb5bcbeeac49e7fc206921c738496536?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dzikrina22</media:title>
		</media:content>
	</item>
		<item>
		<title>tes</title>
		<link>http://sinauyuk.wordpress.com/2009/12/21/tes/</link>
		<comments>http://sinauyuk.wordpress.com/2009/12/21/tes/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 10:32:21 +0000</pubDate>
		<dc:creator>dzikrina</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sinauyuk.wordpress.com/2009/12/21/tes/</guid>
		<description><![CDATA[fourth class Learning 4 here are some sample of html expertise: Here&#8217;s some big text Here&#8217;s some smaller text And here&#8217;s a new paragraph to round things out. this text is center this is the example of the paragraph and make it right this is the example of the paragraph and make it left this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=97&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>fourth class </p>
<p>	<font size="5" color="yellow" face="times new roman"></p>
<h2><em> Learning 4 </em></h2>
<p>	<strong> here are some sample of html expertise: </strong> <br />
	<big> Here&#8217;s some big text </big><br /></font><br />
	 Here&#8217;s some smaller text </p>
<p>And here&#8217;s a new paragraph to round things out.</p>
<hr size="5">
<p>	this text is center</p>
<h2 align="center">
<p align="right">this is the example of the paragraph and make it right</p>
</h2>
<h2 align="center">
<p align="left">this is the example of the paragraph and make it left</p>
</h2>
<h2 align="center">
<p align="center">this is the example of the paragraph and make it center</p>
</h2>
</hr>
<hr size="5">
	<font>Satu dua tiga empat, ternyata tidak mau center oh oh</font><br />
	Satu dua tiga empat, yang ini mau center, yeah!<br />
	</hr>
<hr size="5">
	<font size="3" color="pink" face="colibri"></p>
<p>	This is a default order list</p>
<ol>
<li> Item 1 </li>
<li> Item 2 </li>
<li> Item 3 </li>
<li> Item 4 </li>
</ol>
<p>	This is a big letter order list</p>
<ol type="A">
<li> Item 1 </li>
<li> Item 2 </li>
<li> Item 3 </li>
<li> Item 4 </li>
</ol>
<p>	This is a small letter order list</p>
<ol type="a">
<li> Item 1 </li>
<li> Item 2 </li>
<li> Item 3 </li>
<li> Item 4 </li>
</ol>
<p>	This is a default unorder list</p>
<ul>
<li> Item 1 </li>
<li> Item 2 </li>
<p> This is a nested unorder list</p>
<ul>
<li> Item 3 </li>
<li> Item 4 </li>
</ul>
</ul>
<p>	This is a square unorder list</p>
<ul type="square">
<li> Item 1 </li>
<li> Item 2 </li>
<p> This is a circle list</p>
<ul type="disc">
<li> Item 3 </li>
<li> Item 4 </li>
</ul>
</ul>
<p>	</font><br />
	</hr>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sinauyuk.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sinauyuk.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sinauyuk.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sinauyuk.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sinauyuk.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sinauyuk.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sinauyuk.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sinauyuk.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sinauyuk.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sinauyuk.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sinauyuk.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sinauyuk.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sinauyuk.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sinauyuk.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=97&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sinauyuk.wordpress.com/2009/12/21/tes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb5bcbeeac49e7fc206921c738496536?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dzikrina22</media:title>
		</media:content>
	</item>
		<item>
		<title>Problem 1001, TJU</title>
		<link>http://sinauyuk.wordpress.com/2009/12/19/problem-1001-tju/</link>
		<comments>http://sinauyuk.wordpress.com/2009/12/19/problem-1001-tju/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 07:38:42 +0000</pubDate>
		<dc:creator>dzikrina</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sinauyuk.wordpress.com/?p=94</guid>
		<description><![CDATA[// 1001 HELLO WORLD! #include &#60;iostream&#62; using namespace std; int main() { int num; while (scanf (&#8220;%d&#8221;, &#38;num) != EOF) { char C = static_cast&#60;char&#62; (num); cout &#60;&#60; C; } cout &#60;&#60; endl; system (&#8220;pause&#8221;); return 0; }<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=94&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>// <a href="http://acm.tju.edu.cn/toj/showp1001.html">1001 HELLO WORLD!<br />
</a><br />
#include &lt;iostream&gt;<br />
using namespace std;</p>
<p>int main()<br />
{<br />
int num;</p>
<p>while (scanf (&#8220;%d&#8221;, &amp;num) != EOF)<br />
{<br />
char C = static_cast&lt;char&gt; (num);</p>
<p>cout &lt;&lt; C;<br />
}<br />
cout &lt;&lt; endl;</p>
<p>system (&#8220;pause&#8221;);<br />
return 0;<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sinauyuk.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sinauyuk.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sinauyuk.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sinauyuk.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sinauyuk.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sinauyuk.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sinauyuk.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sinauyuk.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sinauyuk.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sinauyuk.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sinauyuk.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sinauyuk.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sinauyuk.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sinauyuk.wordpress.com/94/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=94&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sinauyuk.wordpress.com/2009/12/19/problem-1001-tju/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb5bcbeeac49e7fc206921c738496536?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dzikrina22</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick Change</title>
		<link>http://sinauyuk.wordpress.com/2009/12/19/quick-change/</link>
		<comments>http://sinauyuk.wordpress.com/2009/12/19/quick-change/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 06:57:27 +0000</pubDate>
		<dc:creator>dzikrina</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sinauyuk.wordpress.com/?p=91</guid>
		<description><![CDATA[// QUICK CHANGE  OR FAST CHANGE #include &#60;iostream&#62; using namespace std; int main() { int numCase; int change; int quarter, dime, nickel, penny; int Q, D, N, P; int rem1, rem2, rem3; #define QUARTER 0.25 #define DIME 0.10 #define NICKEL 0.05 #define PENNY 0.01 #define BASE 100 Q = static_cast &#60;int&#62; (BASE*QUARTER); D = static_cast [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=91&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>// <a href="http://acm.tju.edu.cn/toj/showp2537.html">QUICK CHANGE  OR FAST CHANGE</a></p>
<p>#include &lt;iostream&gt;<br />
using namespace std;</p>
<p>int main()<br />
{<br />
int numCase;<br />
int change;<br />
int quarter, dime, nickel, penny;<br />
int Q, D, N, P;<br />
int rem1, rem2, rem3;</p>
<p>#define QUARTER 0.25<br />
#define DIME 0.10<br />
#define NICKEL 0.05<br />
#define PENNY 0.01<br />
#define BASE 100</p>
<p>Q = static_cast &lt;int&gt; (BASE*QUARTER);<br />
D = static_cast &lt;int&gt; (BASE*DIME);<br />
N = static_cast &lt;int&gt; (BASE*NICKEL);<br />
P = static_cast &lt;int&gt; (BASE*PENNY);</p>
<p>cin &gt;&gt; numCase;</p>
<p>for (int i=0; i&lt;numCase; i++)<br />
{<br />
cin &gt;&gt; change;</p>
<p>quarter = (change/Q);<br />
rem1 = (change%Q);</p>
<p>dime = (rem1/D);<br />
rem2 = (rem1%D);</p>
<p>nickel = (rem2/N);<br />
rem3 = (rem2%N);</p>
<p>penny = (rem3/P);</p>
<p>cout &lt;&lt; i+1 &lt;&lt;&#8221; &#8220;&lt;&lt; quarter &lt;&lt; &#8221; QUARTER(S), &#8221; &lt;&lt; dime &lt;&lt; &#8221; DIME(S), &#8221; &lt;&lt; nickel &lt;&lt;&#8221; NICKEL(S), &#8220;<br />
&lt;&lt; penny &lt;&lt; &#8221; PENNY(S)&#8221; &lt;&lt; endl;<br />
}<br />
return 0;<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sinauyuk.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sinauyuk.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sinauyuk.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sinauyuk.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sinauyuk.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sinauyuk.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sinauyuk.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sinauyuk.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sinauyuk.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sinauyuk.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sinauyuk.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sinauyuk.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sinauyuk.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sinauyuk.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sinauyuk.wordpress.com&amp;blog=4305125&amp;post=91&amp;subd=sinauyuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sinauyuk.wordpress.com/2009/12/19/quick-change/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb5bcbeeac49e7fc206921c738496536?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dzikrina22</media:title>
		</media:content>
	</item>
	</channel>
</rss>
