<?xml version="1.0" encoding="UTF-8" ?><rdf:RDF 
  xmlns="http://purl.org/rss/1.0/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xml:lang="ja">
  <channel rdf:about="http://w.atwiki.jp/marisan/">
    <title>がんばりましょうの会</title>
    <link>http://w.atwiki.jp/marisan/</link>
    <atom:link href="https://w.atwiki.jp/marisan/rss10.xml" rel="self" type="application/rss+xml" />
    <atom:link rel="hub" href="https://pubsubhubbub.appspot.com" />
    <description>がんばりましょうの会</description>

    <dc:language>ja</dc:language>
    <dc:date>2009-05-10T23:39:17+09:00</dc:date>
    <utime>1241966357</utime>

    <items>
      <rdf:Seq>
                <rdf:li rdf:resource="https://w.atwiki.jp/marisan/pages/34.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/marisan/pages/14.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/marisan/pages/19.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/marisan/pages/33.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/marisan/pages/42.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/marisan/pages/41.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/marisan/pages/40.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/marisan/pages/39.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/marisan/pages/38.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/marisan/pages/37.html" />
              </rdf:Seq>
    </items>
	
		
    
  </channel>
    <item rdf:about="https://w.atwiki.jp/marisan/pages/34.html">
    <title>のっぱ</title>
    <link>https://w.atwiki.jp/marisan/pages/34.html</link>
    <description>
      GW中にコツコツやろうと思ってたのに・・・~
演習問題もろとも寮に忘れて今日まとめてやりますorz~
~
*成果
**演習問題
-演習１：完了(5/6)
-演習２：完了(5/6)
-演習３：完了(5/6)
-演習４：完了(5/6)
-演習５：完了(5/6)
-演習６：完了(5/6)
-演習７：完了(5/6)
-演習８：完了(5/6)
-演習９：完了(5/6)
-演習１０：完了(5/6)
-演習１１：完了(5/6)
-演習１２：完了(5/6)
-演習１３：完了(5/6)
-演習１４：完了(5/6)
-演習１５：完了(5/6)
-演習１６：完了(5/6)
-演習１７：完了(5/6)
-演習１８：完了(5/10)
-演習１９：完了(5/10)
-演習２０：完了(5/10)
-演習２１：完了(5/10)
-演習２２：完了(5/10)
-演習２３：完了(5/10)


**追加演習問題
-問１：完了(5/6)
-問２：完了(5/6)
-問３：完了(5/6)
-問４：完了(5/6)
-問５：完了(5/6)
-問６：完了(5/6)
-問７：完了(5/6)
-問８：完了(5/6)    </description>
    <dc:date>2009-05-10T23:39:17+09:00</dc:date>
    <utime>1241966357</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/marisan/pages/14.html">
    <title>にしむらりょー</title>
    <link>https://w.atwiki.jp/marisan/pages/14.html</link>
    <description>
      ** 目次

#contents

** 雑記

GWに課題の資料一式持って帰るのを忘れたのでまったく手つかず。
遊びまくりw

** Eclipseの導入

Windows Vista Professionalに導入してみました^^
導入の説明を書いてみます。

** 演習問題

,演習番号,進捗,日付
,演習6,○,4/29
,演習7,○,4/29
,演習8,○,4/29
,演習9,○,4/29
,演習10,○,4/29
,演習11,○,4/29
,演習12,○,4/29
,演習13,○,4/29
,演習14,○,4/29
,演習15,○,4/29
,演習16,○,4/29

** 追加演習問題

全部終わりました。
解答を掲載しておこうと思います(5/6)。

*** 問1

,a,int w = x;
,b,x = y;
,c,y = w;

*** 問2

,a,min &gt; b
,b,min &gt; c

*** 問3

,a,x &gt;= 0
,b,res = x * -1;

*** 問4

,a,x &gt; 0
,b,x == 0
,c,&quot;zero&quot;

*** 問5

,a,int res = 1;
,b,i &lt;= N
,c,i++
,d,res *= i

*** 問6

,a,n &lt;= N
,b,n % 2 == 0
,c,n++

*** 問7

,a,int i = 0
,b,i &lt; a.length
,c,sum += a[i]

*** 問8

,a,int max = 0
,b,int i = 0
,c,i &lt; a.length
,d,a[i] &gt; max
,e,max = a[i]

*** 問9

,a,i &lt; N
,b,b[N - i - 1] = a[i]
,c,int num
,d,b

*** 問10

,a,w = a[N - 1]
,b,int i = N - 2
,c,a[i + 1] = a[i]
,d,a[0] = w

*** 問11

,a,int p = -1
,b,i &lt; a.length &amp;&amp; p == -1
,c,a[i] == S

*** 問12

,a,int p = -1
,b,l &lt; h
,c,k = (h + l) / 2
,d,p = k
,e,l = k + 1
,f,h = k - 1

*** 問13

,a,i &lt; N
,b,int m = i
,c,int j = i + 1
,d,x[m] &lt; x[j]
,e,w = x[m]
,f,x[m] = x[i]
,g,x[i] = w

*** 問14

,a,int i = N - 1
,b,i &gt;= 0
,c,int m = i
,d,int j = 0
,e,j &lt; i
,f,x[m] &lt; x[j]
,g,w = x[m]
,h,x[m] = x[i]
,i,x[i] = w

*** 問15

,a,i &lt; N
,b,int j = N - 1
,c,j &gt; i
,d,x[j] &gt; x[j - 1]

*** 問16

,a,int i = N -1
,b,i &gt; 0
,c,int j = 0
,d,j &lt; i
,e,x[j] &gt; x[j + 1]

*** 問17

,a,int i = 1
,b,int j = i - 1
,c,j &gt;= 0
,d,x[j] &gt; x[j + 1]
,e,break

*** 問18

,a,x[i] != &#039;■&#039;
,b,z[i] = x[i]
,c,y[j] != &#039;■&#039;
,d,z[i] = y[j]
,e,z[i] = &#039;■&#039;
,f,z[i] != &#039;■&#039;

*** 問19

,a,i &lt; IDX - 1
,b,x[i + LEN] != &#039;■&#039;
,c,x[i] = x[i + LEN]
,d,x[i] = &#039;■&#039;
,e,x[i] != &#039;■&#039;

*** 問20

,a,x[i] != &#039;■&#039;
,b,w = i
,c,x[i] == y[j] &amp;&amp; y[j] != &#039;■&#039;
,d,y[j] == &#039;■&#039;

*** 問21

,a,y[i][N - j - 1] = x[i][j]

*** 問22

,a,y[j][N - i -1] = x[i][j]

*** 問23

,a,k &lt; R
,b,y[i][p] = x[i][j]
,c,i &lt; N    </description>
    <dc:date>2009-05-06T15:52:03+09:00</dc:date>
    <utime>1241592723</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/marisan/pages/19.html">
    <title>雑談してみるページ</title>
    <link>https://w.atwiki.jp/marisan/pages/19.html</link>
    <description>
      **楽しくすれば、楽しくなるよ。

私が午後遅くに起きだしてぼーっとしたあと、
オムライスで一喜一憂している間に
にしむらくんがすごいページを…ぜひともご指導お願いします。（にお）

こんな感じで書き込んでいっていいのかな？？
ぐうたら生活を正しに来ました。
飯食ったら演習やろうかな！今日はカルボナーラに挑戦。（[[ましゅ～]]）

ましゅーおしゃれだな！　カルボナーラの時点でぐうたらじゃないよ。笑（にお）

皆すげーやっとって、進捗情報見るだけで焦るｗｗｗ（[[のっぱ]]）    </description>
    <dc:date>2009-05-06T12:50:22+09:00</dc:date>
    <utime>1241581822</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/marisan/pages/33.html">
    <title>すず</title>
    <link>https://w.atwiki.jp/marisan/pages/33.html</link>
    <description>
      一日一問追加演習……ができず、最終日にまとめてやりました。
穴埋めを行っただけで、特に工夫はしていません。

*追加演習問題
-[[問１　変数x,yの交換]]
-[[問２　変数a,b,cの最小値]]
-[[問３　変数xの絶対値]]
-[[問４　変数xの正負ゼロの場合分け]]
-[[問５　１からNまでの乗算]]
-[[問６　１からNのうち偶数を出力]]
-[[問７　配列の総和]]
-[[問８　配列の最大値]]    </description>
    <dc:date>2009-05-06T12:29:18+09:00</dc:date>
    <utime>1241580558</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/marisan/pages/42.html">
    <title>問８　配列の最大値</title>
    <link>https://w.atwiki.jp/marisan/pages/42.html</link>
    <description>
      #highlight(){{
  class q8_ArrayMax{
	public static void main(String[] args){
		int a[] = {10,5,20,10,15};
		int max = a[0];
		
		for (int i = 1; i &lt; a.length; i++){
			if (max &lt; a[i]){
				max = a[i];
			}
		}
		System.out.println(max);
	}
}
}}    </description>
    <dc:date>2009-05-06T12:28:22+09:00</dc:date>
    <utime>1241580502</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/marisan/pages/41.html">
    <title>問７　配列の総和</title>
    <link>https://w.atwiki.jp/marisan/pages/41.html</link>
    <description>
      #highlight(){{
  class q7_ArraySum{
	public static void main(String[] args){
		int a[] = {10,5,20,10,15};
		int sum = 0;
		
		for (int i = 0; i &lt; a.length; i++){
			sum = sum +a[i];
		}
		System.out.println(sum);
	}
}}}    </description>
    <dc:date>2009-05-06T12:27:07+09:00</dc:date>
    <utime>1241580427</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/marisan/pages/40.html">
    <title>問６　１からNのうち偶数を出力</title>
    <link>https://w.atwiki.jp/marisan/pages/40.html</link>
    <description>
      #highlight(){{
  class q6_Even{
	public static void main(String[] args){
		final int N = 10;
		int n = 1;
		
		while (n &lt;= N){
			if (n % 2 == 0){
				System.out.println(n);
			}
			n++;
		}
	}
}
}}    </description>
    <dc:date>2009-05-06T12:26:13+09:00</dc:date>
    <utime>1241580373</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/marisan/pages/39.html">
    <title>問５　１からNまでの乗算</title>
    <link>https://w.atwiki.jp/marisan/pages/39.html</link>
    <description>
      #highlight(){{
  class q5_Multiply{
	public static void main(String[] args){
		final int N = 5;
		int res = 1;			//合計を格納する変数を初期化
		
		for (int i = 1; i &lt;= 5; i++){
			res = res * i;
		}
		System.out.println(res);
	}
}
}}    </description>
    <dc:date>2009-05-06T12:25:16+09:00</dc:date>
    <utime>1241580316</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/marisan/pages/38.html">
    <title>問４　変数xの正負ゼロの場合分け</title>
    <link>https://w.atwiki.jp/marisan/pages/38.html</link>
    <description>
      #highlight(){{
  class q4_NumJudge{
	public static void main(String[] args){
		int x = 3;
		
		if (x &gt; 0){
			System.out.println(&quot;plus&quot;);
		}else if (x == 0){
			System.out.println(&quot;zero&quot;);
		}else{
			System.out.println(&quot;minus&quot;);
		}
	}
}
}}    </description>
    <dc:date>2009-05-06T12:23:20+09:00</dc:date>
    <utime>1241580200</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/marisan/pages/37.html">
    <title>問３　変数xの絶対値</title>
    <link>https://w.atwiki.jp/marisan/pages/37.html</link>
    <description>
      #highlight(){{
  class q3_Abs{
	public static void main(String[] args){
		int x = -1;
		int res;
		
		if (x &gt;= 0){		//xが0以上(正のとき)
			res = x;
		}else{
			res = -x;
		}
		System.out.println(res);
	}
}
}}    </description>
    <dc:date>2009-05-06T12:21:55+09:00</dc:date>
    <utime>1241580115</utime>
  </item>
  </rdf:RDF>
