#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) 人氣(99)

奇人軼事鑑賞(?)
================================
steven70101 發表在 痞客邦 留言(1) 人氣(160)
好一個NDSi宣傳(聽說裡面扣除電子儀器是用樂高組的)
第三題已經傳出去了,就省了(茶)
================================
steven70101 發表在 痞客邦 留言(0) 人氣(156)
最新節能省碳設計(?)
================================================
話說在去年因為人數太多而決定放寬過的標準
讓JAVA的人數再度正常了起來
(雖然還是四代同堂)
(而且有一個還是因為機車壞了沒來考試被當,虧我罩他那麼多(?))
steven70101 發表在 痞客邦 留言(0) 人氣(108)
圖隨便隨機2張
最近網路上看到的文章:
steven70101 發表在 痞客邦 留言(0) 人氣(62)

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

圖中你看過幾個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) 人氣(979)

囧!
================================
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) 人氣(918)

有誰要投稿的!(這梗不是內行的應該不會懂(?))
================================
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) 人氣(112)

最近題目越做越隨性了(汗)
----------------------------------------------------------------------------------------------
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) 人氣(156)