#include <windows.h>
#include "stdafx.h"
#include "math.h"
#include <stdio.h>
#include <conio.h>
#include <time.h>
#define MAX 4
#define Blockn 7

steven70101 發表在 痞客邦 留言(0) 人氣()

1209138265155.jpg
 奇人軼事鑑賞(?)
  
================================

steven70101 發表在 痞客邦 留言(1) 人氣()

210688.jpg
 
好一個NDSi宣傳(聽說裡面扣除電子儀器是用樂高組的)
第三題已經傳出去了,就省了(茶)
================================

steven70101 發表在 痞客邦 留言(0) 人氣()

__36879___26126_1537.jpg
 
最新節能省碳設計(?)
================================================
話說在去年因為人數太多而決定放寬過的標準
讓JAVA的人數再度正常了起來
(雖然還是四代同堂)
(而且有一個還是因為機車壞了沒來考試被當,虧我罩他那麼多(?))

steven70101 發表在 痞客邦 留言(0) 人氣()

1177171475072.jpg

圖隨便隨機2張
最近網路上看到的文章:

steven70101 發表在 痞客邦 留言(0) 人氣()



雖然說是二元樹,其實也只是用 txt 檔寫出資料所在位置跟資料代碼罷了囧,圖形還不會用
像這樣:
1,a
2,b
3,c
5,d
6,e
10,f
11,g

steven70101 發表在 痞客邦 留言(1) 人氣()



圖中你看過幾個XD?
================================
import java.io.*;class node{
 char data;
 node left;
 node right;
 node(char d,node l,node r){
  data = d;
  left = l;
  right = r;
 }
}

steven70101 發表在 痞客邦 留言(0) 人氣()



囧!
================================
import java.io.*;
import java.util.*;class node{
 int key;
 node left;
 node right;
 node(int k){
  key = k;
  left = null;
  right = null;
 }
}

steven70101 發表在 痞客邦 留言(0) 人氣()



有誰要投稿的!(這梗不是內行的應該不會懂(?))
================================
import java.io.*;
import java.util.*;class BinaryTree{
 char[] data;
 BinaryTree(File f,int d)throws FileNotFoundException{
  int z = (int)Math.pow(2.0,(double)d);
  data = new char[z];
  Scanner r = new Scanner(f);
  while(r.hasNextLine()){
   String s = r.nextLine();
   StringTokenizer stk = new StringTokenizer(s,",");
   int id = Integer.parseInt(stk.nextToken());
   char c = stk.nextToken().charAt(0);
   data[id] = c;
  }
  r.close();
}

steven70101 發表在 痞客邦 留言(0) 人氣()



最近題目越做越隨性了(汗)
----------------------------------------------------------------------------------------------
public class ex6_5{
 public static void main(String[] alio){
  
 int n = 100;
 for(int i=1;i<=100;i++){
  int y = i%5;
  if(y==0)
   System.out.println(i);
  int x = i%7;
  if(x==0&&y!=0)
   System.out.println(i);
 } 
 }
}

steven70101 發表在 痞客邦 留言(0) 人氣()



超級!霸王!電影彈!!!!
-------------------------------------------------------------------------------------------------
import java.io.*;public class ex6_3{
 public static void main(String[] alio)
 throws IOException{
  
 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
 System.out.println("請輸入第一個整數:");
 String str = br.readLine();
 int i = Integer.parseInt(str);
 System.out.println("請輸入第二個整數:");
 String str2 = br.readLine();
 int j = Integer.parseInt(str2);
 int sum = 0;
 
 if(i<j){
  for(int x=i+1;x<j;x++){
   sum += x;
   }
  }
 else if(i>j){
  for(int x=j+1;x<i;x++){
   sum += x;
   }
   } 
 System.out.println(sum); 
 }
}

steven70101 發表在 痞客邦 留言(1) 人氣()



!?
--------------------------------------------------------------------------------------------------
以下只是備份,連基本都寫不好了,這圖形介面的根本完全霧煞煞.....
package onlyfun.caterpillar;import javax.swing.*;
import java.awt.BorderLayout;
import java.awt.Graphics;
import java.awt.event.*;

steven70101 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。