列印課表
herrDeng網內搜尋
自訂搜尋
Ads
訂閱:
張貼留言 (Atom)
熱門文章
-
教育部為提昇全民資安素養與電腦防護能力,本部於101年9月5日至11月5日舉辦「全民資安素養自我評量」活動,請在活動期間內踴躍上網檢測資訊安全素養認知程度,並有機會參與抽獎,詳情請參閱活動網站(網址: https://isafe.moe.edu.tw/event
-
先說明一下這是後知後覺的解答,所謂後知就是股票價格已知存在陣列(清單),當然就要用迴圈練習,雙迴圈暴力解需時O(n**2),當然不用,採python單一迴圈解答「最佳股票的買賣時機#LeetCode 121 Best Time to Buy and Sell Stock」,解...
-
url="https://www.twse.com.tw/exchangeReport/STOCK_DAY?response=json&date=20220330&stockNo=2330"
-
你會用C的算子sizeof?
-
Python CPP heap priority queue速解L eetcode 2530. Maximal Score After Applying K Operations heap/priority queue是重要的資料結構,無論是C++的std::priority_q...
-
C++ DP動態規劃解Leetcode 937 Maximum Number of Points with Cost 有些標示medium要比標示hard的問題還要難,Leetcode 1937. Maximum Number of Points with Cost,DP動態規...
70 則留言:
public class B10033019 {
public static void main(String[] args){
int list[][]=
{{0,3,0,0,0},
{1,3,6,0,11},
{1,4,6,8,11},
{1,4,6,8,11},
{2,0,0,9,12},
{2,0,0,9,12},
{0,5,7,9,12},
{0,5,7,10,0},
{0,0,7,10,0},
};
String x[]={"","資料結構","移民社會","英文","公民社會","體育","企業電子","媒體網頁","班會","統計學","環境變遷","生產管理","資料結構"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=1;
for (int i=0;i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length;j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class hello{
public static void main (String[]args){
int list[][]=
{{0,4,0,0,0},
{1,4,6,0,0},
{1,5,6,8,11},
{1,5,6,8,11},
{2,0,7,9,12},
{2,0,7,9,12},
{3,0,0,9,12},
{3,0,0,10,0},
{0,0,0,10,0},
};
String x[]={"","資料結構","體育","美學","英文","公民社會","企業","會計丙級","導師","統計學","人類活動","基礎日文","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
public class hello{
public static void main (String[]args){
int list[][]=
{{0,0,0,8,0},
{1,0,6,8,0},
{1,4,6,9,0},
{1,4,6,9,0},
{2,5,7,10,12},
{2,5,7,10,12},
{3,0,0,10,12},
{3,0,0,11,0},
{0,0,0,11,0},
};
String x[]={"","資料結構","體育","人類學","公民社會","美學","企業","會計丙級","英文","導師","統計學","地球環境","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class b10033045 {
public static void main(String[] args) {
int list[][]=
{{0,0,0,3,0},
{1,0,2,3,0},
{1,4,2,5,0},
{1,4,2,5,0},
{6,7,8,9,10},
{6,7,8,9,10},
{6,0,8,9,10},
{0,0,0,11,0},
{0,0,0,11,0},
};
String x[]={"無","資料結構","企業電子","英文","公民","班會","動畫","體育","行動通訊","統計學","資料庫管理 ","人類活動 "};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0;i<list.length;i++){
System.out.print(++(time)+"\t");
for(int j=0;j<list[i].length;j++){
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
}
}
}
public class b10033016 {
public static void main(String[] args)
throws Exception //例外處理
{
int [][] courses=
{{0,2,0,0,0}, //1
{1,2,5,0,10}, //2
{1,3,5,7,10}, //3
{1,3,5,7,10}, //4
{0,4,6,8,11}, //5
{0,4,6,8,11}, //6
{0,0,6,8,11}, //7
{0,0,0,9,0}, //8
{0,0,0,9,0},};//9
String x[]={"","資料結構","英文","公民","體育","企業電子","行動通訊","班會","統計學","人類活動","密碼學","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<courses.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<courses[i].length; j++)
{
System.out.print(x[courses[i][j]]+"\t");
}
System.out.println();
}
}
}
public class h4{
public static void main (String [] args){
int list [] [] =
{
{0,0,0,5,0},
{1,0,4,5,0},
{1,3,4,6,0},
{1,3,4,6,0},
{2,0,0,7,9},
{2,0,0,7,9},
{0,0,0,7,9},
{0,0,0,8,0},
{0,0,0,8,0},
};
String x[]={"","資料結構","體育","公民","企業電子化","英文","導師","統計學","人類活動","資料庫"
};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++);
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length;j++)
{
System.out.print(x[list [i][j]]+'\t');
}
System.out.println();
}
}
}
import java.io.*;
public class hello {
public static void main(String[]args){
int list[][]=
{{0,0,0,7,0},
{1,0,5,7,0},
{1,3,5,8,0},
{1,3,5,8,0},
{2,4,6,9,11},
{2,4,6,9,11},
{2,0,6,9,11},
{0,0,0,10,0},
{0,0,0,10,0},
};
String x[]={"","資料結構","動畫設計","公民社會概論","體育","企業電子 ","行動通訊","英文","導師"
,"統計學","環境變遷","管理系統 "};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=1;
for(int i=0;i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0;j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class h4{
public static void main (String [] args){
int list [] [] =
{
{0,0,0,5,0},
{1,0,4,5,0},
{1,3,4,6,0},
{1,3,4,6,0},
{2,0,0,7,9},
{2,0,0,7,9},
{0,0,0,7,9},
{0,0,0,8,0},
{0,0,0,8,0},
};
String x[]={"","資料結構","體育","公民","企業電子化","英文","導師","統計學","人類活動","資料庫"
};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++);
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length;j++)
{
System.out.print(x[list [i][j]]+'\t');
}
System.out.println();
}
}
}
public class hello{
public static void main (String[]args){
int list[][]=
{{0,4,0,0,0},
{1,4,6,0,0},
{1,5,6,8,11},
{1,5,6,8,11},
{2,0,7,9,12},
{2,0,7,9,12},
{3,0,0,9,12},
{3,0,0,10,0},
{0,0,0,10,0},
};
String x[]={"","資料結構","體育","美學","英文","公民社會","企業","會計丙級","導師","統計學","人類活動","基礎日文","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
}
}
}
public class hello{
public static void main (String[]args){
int list[][]=
{{0,0,0,8,0},
{1,0,6,8,0},
{1,4,6,9,0},
{1,4,6,9,0},
{2,5,7,10,12},
{2,5,7,10,12},
{3,0,0,10,12},
{3,0,0,11,0},
{0,0,0,11,0},
};
String x[]={"","資料結構","體育","人類學","公民社會","美學","企業","會計丙級","英文","導師","統計學","地球環境","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class couress{
public static void main (String[] args){
int list [] []=
{{0,0,0,1,0},
{2,0,3,1,0},
{2,4,3,5,6},
{2,4,3,5,6},
{7,0,8,9,10},
{7,0,8,9,10},
{0,0,0,9,10},
{0,0,0,11,0},
{0,0,0,11,0},
};
String x[]={"","英文","資料結構","企業電子化","公民社會概論","導師","基礎日文","體育","會計丙級證照","統計學","資料庫管理系統","人類活動與地球環境變遷"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for(int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
}}}
public class courses {
public static void main(String[] args) {
int list[][]=
{{0,2,0,0,0},
{1,2,10,0,0},
{1,3,10,11,0},
{1,3,10,11,0},
{4,5,0,6,7},
{4,5,0,6,7},
{4,8,9,6,7},
{0,8,9,12,0},
{0,0,9,12,0},
};
String x[]={"\t"+"","\t"+"資料結構","\t"+"英文","\t"+"公民","\t"+"生產管理","\t"+"體育","\t"+"統計學",
"\t"+"資料庫管理","\t"+"國際關係","\t"+"多媒體","\t"+"企業電子化","班會","\t"+"人類環境"};
System.out.println("\t\t"+"週一"+"\t\t"+"週二"+"\t\t"+"週三"+
"\t\t"+"週四"+"\t\t"+"週五"+"\t\t");
int time=0;
for (int i=0;i<list.length;i++)
{
System.out.print(++(time)+"\t");
for (int j=0;j<list[i].length;j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
}
}
}
package h4;
public class hello{
public static void main(String[] args) {
int list[][]=
{{0,2,0,0,0},
{1,2,0,5,0,9},
{1,3,5,6,9},
{1,3,5,6,9},
{0,0,0,7,10},
{0,0,0,7,10},
{0,4,0,7,10},
{0,4,0,8,0},
{0,0,0,8,0},
};
String x[]={"","資料結構","英文","公民社會概論","體育","企業電子化","導師","統計學","人類活動與地球環境變遷","密碼學","資料庫管理系統"};
System.out.println("\t"+"週一"+"\t"+"週二 "+"\t"+"週三 "+"\t"+"週四"+"\t"+"週五"+"\t");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
}
}
}
package h4;
public class hello{
public static void main(String[] args) {
int list[][]=
{{0,2,0,0,0},
{1,2,0,5,0,9},
{1,3,5,6,9},
{1,3,5,6,9},
{0,0,0,7,10},
{0,0,0,7,10},
{0,4,0,7,10},
{0,4,0,8,0},
{0,0,0,8,0},
};
String x[]={"","資料結構","英文","公民社會概論","體育","企業電子化","導師","統計學","人類活動與地球環境變遷","密碼學","資料庫管理系統"};
System.out.println("\t"+"週一"+"\t"+"週二 "+"\t"+"週三 "+"\t"+"週四"+"\t"+"週五"+"\t");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
}
}
}
public class test {
public static void main(String[] args) {
int list[][]=
{{0,1,0,0,0},
{2,1,3,0,4},
{2,5,3,6,4},
{2,5,3,6,4},
{7,8,0,9,10},
{7,8,0,9,10},
{7,0,0,9,10},
{0,0,0,11,0},
{0,0,0,11,0}
};
String x[]={"","英文","資料結構","企業","生產管理","公民","週會","flash","體育","統計","資料庫","人類"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五"+"\t");
int time=1;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
package p1;
public class ee
{
public static void main(String[] args) {
int [][] courses={
{0,0,0,6,0},
{1,0,5,6,0},
{1,3,5,7,10},
{1,3,5,7,10},
{2,0,0,8,11},
{2,0,0,8,11},
{2,4,0,8,11},
{0,4,0,9,0},
{0,0,0,9,0},
};
String x[] = {"","資料","物件","公民","通識","企業","英文","班會","統計學","環境","體育","資料庫管理"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for(int i=0;i<courses.length;i++)
{
System.out.print(++(time)+"\t");
for(int j=0 ; j<courses[i].length ; j++)
{
System.out.print(x[courses[i][j]]+"\t");
}
System.out.println();
}
}
}
public class hello {
public static void main(String[] args) {
int a[][]=
{{0,1,0,0,0},
{2,1,3,0,0},
{2,5,3,4,0},
{2,5,3,4,0},
{6,7,0,8,9},
{6,7,0,8,9},
{6,0,0,8,9},
{0,0,0,10,11},
{0,0,0,10,11},
};
String x[]={"","英文","資料結構 ","企業電子"
,"班會","公民 ","物件導向","體育","統計學"
,"資料庫 ","人類活動","海洋考古"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<=a.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<a[i].length; j++)
{
System.out.print(x[a[i][j]]+"\t");
}
System.out.println();
}
}
}
public class courses {
public static void main(String[] args) {
int list [][]=
{ {0,1,0,0,0},
{2,1,3,0,4},
{2,5,3,6,4},
{2,5,3,6,4},
{0,7,0,8,9},
{0,7,0,8,9},
{0,0,0,8,9},
{0,0,0,10,9},
{0,0,0,10,0}
};
String x[]={"","英文","資料","企業","生管","公民 ","週會","體育","統計學","資料庫","人類"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"
+"週四"+"\t"+"週五"+"\t");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class hw1
{
public static void main(String[] args)
{
int [][] courses={{0,0,0,4,0},
{1,0,3,4,0},
{1,2,3,6,0},
{1,2,3,6,0},
{7,0,0,8,5},
{7,0,0,8,5},
{7,9,0,8,5},
{0,9,0,10,0},
{0,0,0,10,0}};
String x[]={"","資結","公民","企業","英文","資料庫","導師","物件","統計","體育","人類"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for(int i=0; i<courses.length;i++)
{
System.out.print(++(time)+"\t");
for(int j=0;j<courses[i].length;j++)
{
System.out.print(x[courses[i][j]]+"\t");
}
System.out.println();
}
}
}
public class test {
public static void main(String[] args) {
int list[][]=
{{0,1,0,0,0},
{2,1,3,0,4},
{2,5,3,6,4},
{2,5,3,6,4},
{7,8,0,9,10},
{7,8,0,9,10},
{7,0,0,9,10},
{0,0,0,11,0},
{0,0,0,11,0}
};
String x[]={"","英文","資料結構","企業","生產管理","公民","週會","flash","體育","統計","資料庫","人類"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五"+"\t");
int time=1;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public static void main(String[] args) {
int list[][]=
{{0,0,0,5,0}, //1
{1,0,4,5,0}, //2
{1,3,4,6,9}, //3
{1,3,4,6,9}, //4
{2,0,0,7,10}, //5
{2,0,0,7,10}, //6
{2,0,0,7,10}, //7
{0,0,0,8,11}, //8
{0,0,0,8,11}, //9
};
String x[]={"資料結構","Flash動畫設計","公民社會概論","企業電子化","英文","導師","統計學","人類活動與地球環境變遷","體育","資料庫管理系統","海洋考古與海洋文明"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class b10033006
{
public static void main(String[] args)
{
int [][] courses={{0,0,0,4,0},
{1,0,3,4,0},
{1,2,3,6,0},
{1,2,3,6,0},
{7,0,0,8,5},
{7,0,0,8,5},
{7,0,0,8,5},
{0,0,0,9,0},
{0,0,0,9,0}};
String x[]={"","資結","公民","企業","英文","資料庫","導師","物件","統計","人類"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for(int i=0; i<courses.length;i++)
{
System.out.print(++(time)+"\t");
for(int j=0;j<courses[i].length;j++)
{
System.out.print(x[courses[i][j]]+"\t");
}
System.out.println();
}
}
}
public class b10033006
{
public static void main(String[] args)
{
int [][] courses={{0,0,0,4,0},
{1,0,3,4,0},
{1,2,3,6,0},
{1,2,3,6,0},
{7,0,0,8,5},
{7,0,0,8,5},
{7,0,0,8,5},
{0,0,0,9,0},
{0,0,0,9,0}};
String x[]={"","資結","公民","企業","英文","資料庫","導師","物件","統計","人類"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for(int i=0; i<courses.length;i++)
{
System.out.print(++(time)+"\t");
for(int j=0;j<courses[i].length;j++)
{
System.out.print(x[courses[i][j]]+"\t");
}
System.out.println();
}
}
}
public class hello1001 {
public static void main(String[] args) {
int list[][]=
{{0,0,0,5,0}, //1
{1,0,4,5,0}, //2
{1,3,4,6,9}, //3
{1,3,4,6,9}, //4
{2,0,0,7,10}, //5
{2,0,0,7,10}, //6
{2,0,0,7,10}, //7
{0,0,0,8,11}, //8
{0,0,0,8,11}, //9
};
String x[]={"","資料結構","Flash動畫設計","公民社會概論","企業電子化","英文","導師","統計學","人類活動與地球環境變遷","體育","資料庫管理系統","海洋考古與海洋文明"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class AAA {
/**
* @param args
*/
public static void main(String[] args) {
int list[][]=
{{1,0,2,0,3},
{1,0,2,5,3},
{1,0,2,5,3},
{0,0,4,4,0},
{0,0,4,4,0},
};
String x[]={"","資料結構","資安實習","密碼學","微積","週會"};
System.out.println("\t"+"一"+"\t"+"二"+"\t"+"三"+"\t"+"四"+"\t"+"五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
// TODO Auto-generated method stub
}
System.out.println();
}
}
}
public class P1
{
public static void main(String[] args)
{int list[][]=
{{1,0,2,0,3},
{1,0,2,5,3},
{1,0,2,5,3},
{0,0,4,4,0},
{0,0,4,4,0},
};
String x[]={"","資料結構","網路安全","性別與文學" ,"密碼學","網際網路程式設計 ","週會"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五"+"\t");
int time=1;
for (int i=0;i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0;j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}System.out.println();
}
public class b9733002鍾志捷 {
public static void main(String[] args) {
int list[][]=
{{0,2,0,0,0},
{1,2,0,0,7},
{1,2,4,0,7},
{1,3,4,0,7},
{0,3,5,6,8},
{0,3,5,6,8},
{0,0,5,6,9},
{0,0,0,0,9},
{0,0,0,0,0}
};
String x[]={"","資料庫管理","SQL語言設計","策略管理","西方藝術","資管人員專業證照","資安導論","密碼學","道德堆論","體育"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五"+"\t");
int time=1;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class courses {
public static void main(String[] args) {
int list[][]=
{{0,0,0,7,0},
{1,0,6,7,0},
{1,4,6,8,0},
{1,4,6,8,0},
{2,0,0,9,11},
{2,0,0,9,11},
{2,5,0,9,11},
{3,5,0,10,0},
{3,0,0,10,0},
};
String x[]={"","資料結構","現代小說與愛情心理學","體育","公民社會概論 ","藝術鑑賞與創意發想","企業電子化","英文","導師 ","統計學","人類活動與地球環境變遷 ","資料庫管理系統"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class hello{
public static void main (String[]args){
int list[][]=
{{0,4,0,0,0},
{1,4,7,0,0},
{1,5,7,8,0},
{1,5,7,8,0},
{2,0,0,9,11},
{2,0,0,9,11},
{3,6,0,10,11},
{3,6,0,10,0},
{0,0,0,10,0},
};
String x[]={"","資料結構","移民社會","體育","","英文","公民社會","藝術鑑賞","企業電子化","導師","統計學","人類活動","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
public class hello{
public static void main (String[]args){
int list[][]=
{{0,4,0,0,0},
{1,4,7,0,0},
{1,5,7,8,0},
{1,5,7,8,0},
{2,0,0,9,11},
{2,0,0,9,11},
{3,6,0,10,11},
{3,6,0,10,0},
{0,0,0,10,0},
};
String x[]={"","資料結構","多元認同","體適能","","英文","公民社會","創意發想","企業電子化","導師","統計學","人類活動","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
package h4;
public class hello{
public static void main(String[] args) {
int list[][]=
{{0,2,0,0,0},
{1,2,0,5,0,9},
{1,3,5,6,9},
{1,3,5,6,9},
{0,0,0,7,10},
{0,0,0,7,10},
{0,4,0,7,10},
{0,4,0,8,0},
{0,0,0,8,0},
};
String x[]={"","資料結構","英文","公民社會概論","體育","企業電子化","導師","統計學","人類活動與地球環境變遷","密碼學","資料庫管理系統"};
System.out.println("\t"+"週一"+"\t"+"週二 "+"\t"+"週三 "+"\t"+"週四"+"\t"+"週五"+"\t");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
}
}
}
public class hello {
public static void main(String[] args){
int list[][]=
{{0,3,0,0,0},
{1,3,6,0,11},
{1,4,6,8,11},
{1,4,6,8,11},
{2,0,0,9,12},
{2,0,0,9,12},
{0,5,0,9,12},
{7,5,0,10,0},
{7,0,0,10,0},
};
String x[]={"","資料結構","國文","英文","公民社會","體育","企業電子","心理學","班會","統計學","人類活動","密碼學","資料結構"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=1;
for (int i=0;i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length;j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class hello{
public static void main (String[]args){
int list[][]=
{{0,4,0,0,0},
{1,4,7,0,0},
{1,5,7,8,0},
{1,5,7,8,0},
{2,0,0,9,11},
{2,0,0,9,11},
{3,6,0,10,11},
{3,6,0,10,0},
{0,0,0,10,0},
};
String x[]={"","資料結構","多元認同","體適能","","英文","公民社會","創意發想","企業電子化","導師","統計學","人類活動","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
public class hello{
public static void main (String[]args){
int list[][]=
{{0,4,0,0,0},
{1,4,7,0,0},
{1,5,7,8,0},
{1,5,7,8,0},
{2,0,0,9,11},
{2,0,0,9,11},
{3,6,0,10,11},
{3,6,0,10,0},
{0,0,0,10,0},
};
String x[]={"","資料結構","多元認同","體適能","","英文","公民社會","創意發想","企業電子化","導師","統計學","人類活動","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
public class hello{
public static void main (String[]args){
int list[][]=
{{0,4,0,0,0},
{1,4,7,0,0},
{1,5,7,8,0},
{1,5,7,8,0},
{2,0,0,9,11},
{2,0,0,9,11},
{3,6,0,10,11},
{3,6,0,10,0},
{0,0,0,10,0},
};
String x[]={"","資料結構","多元認同","體適能","","英文","公民社會","創意發想","企業電子化","導師","統計學","人類活動","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
public class a{
public static void main (String[]args){
int list[][]=
{0,4,0,0,0},
{1,4,6,0,0},
{1,0,6,8,0},
{1,4,6,9,0},
{1,4,6,9,0},
{6,0,8,9,10},
{0,0,0,5,0},
{0,7,0,3,0},
};
String x[]={"無","資料結構","英文","公民","班會","企業電子","體育","行動通訊","資料庫管理 ","統計學","人類活動 "};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0;i<list.length;i++){
System.out.print(++(time)+"\t");
for(int j=0;j<list[i].length;j++){
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
}
}
}
public class NYPD {
public static void main(String[] args) {
int list[] []=
{{1,2,5,7,0},
{1,2,5,7,0},
{1,2,5,10,4},
{0,3,0,10,4},
{0,3,0,0,9},
{0,3,6,8,9},
{0,4,6,8,9},
{0,4,0,0,0},
};
{{"","資料結構","網路安全","統計學","計算機概論","網際網路程式設計","國文","英文","生活創意美學","資料庫程式設計","班會" }
};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五"+"\t");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
public class hello {
public static void main(String[] args){
int list[][]=
{{0,3,0,0,0},
{1,3,6,0,11},
{1,4,6,8,11},
{1,4,6,8,11},
{2,0,0,9,12},
{2,0,0,9,12},
{0,5,7,9,12},
{0,5,7,10,0},
{0,0,7,10,0},
};
String x[]={"","資料結構","移民社會","英文","公民社會","體育","企業電子","媒體網頁","班會","統計學","環境變遷","生產管理","資料結構"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=1;
for (int i=0;i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length;j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class b10033037 {
public static void main(String[] args)
throws Exception //例外處理
{
int [][] courses=
{{0,0,0,6,0}, //1
{1,0,4,6,10}, //2
{1,2,4,7,10}, //3
{1,2,4,7,10}, //4
{0,3,0,8,11}, //5
{0,3,0,8,11}, //6
{0,0,5,8,11}, //7
{0,0,5,9,0}, //8
{0,0,5,9,0},};//9
String x[]={"","資料結構","公民","體育","企業電子","多媒體","英文","班會","統計學","人類活動","密碼學","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<courses.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<courses[i].length; j++)
{
System.out.print(x[courses[i][j]]+"\t");
}
System.out.println();
}
}
}
public class jas {
public static void main(String[] args)
{
int [][] courses={{0,0,0,4,0},
{1,0,3,4,0},
{1,2,3,6,0},
{1,2,3,6,0},
{7,0,0,8,5},
{7,0,0,8,5},
{7,0,0,8,5},
{0,0,0,9,0},
{0,0,0,9,0}};
String x[]={"","資結","公民","企業","英文","資料庫","導師","物件","統計","人類"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for(int i=0; i<courses.length;i++)
{
System.out.print(++(time)+"\t");
for(int j=0;j<courses[i].length;j++)
{
System.out.print(x[courses[i][j]]+"\t");
}
System.out.println();
}
}
}
public class hello{
public static void main (String[]args){
int list[][]=
{{0,4,0,0,0},
{1,4,7,0,0},
{1,5,7,8,0},
{1,5,7,8,0},
{2,0,0,9,11},
{2,0,0,9,11},
{3,6,0,10,11},
{3,6,0,10,0},
{0,0,0,10,0},
};
String x[]={"","統計學","多元認同","英文","","體適能","公民社會","創意發想","企業電子化","導師","資料結構","人類活動","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
public class hello{
public static void main (String[]args){
int list[][]=
{{0,4,0,0,0},
{1,4,7,0,0},
{1,5,7,8,0},
{1,5,7,8,0},
{2,0,0,9,11},
{2,0,0,9,11},
{3,6,0,10,11},
{3,6,0,10,0},
{0,0,0,10,0},
};
String x[]={"","資料結構","多元認同","體適能","","英文","公民社會","創意發想","企業電子化","導師","統計學","人類活動","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
public class hello{
public static void main (String[]args){
int list[][]=
{{0,4,0,0,0},
{1,4,7,0,0},
{1,5,7,8,0},
{1,5,7,8,0},
{2,0,0,9,11},
{2,0,0,9,11},
{3,6,0,10,11},
{3,6,0,10,0},
{0,0,0,10,0},
};
String x[]={"","資料結構","多元認同","體適能","","英文","公民社會","創意發想","企業電子化","導師","統計學","人類活動","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
public class hello{
public static void main (String[]args){
int list[][]=
{{0,0,0,0,0},
{1,0,4,0,0},
{1,0,4,5,0},
{1,0,4,5,0},
{2,3,0,6,0},
{2,3,0,6,0},
{2,3,0,6,0},
{0,0,0,0,0},
{0,0,0,0,0},
};
String x[]={"","資料結構","生產管理","統計學","網際網路程式設計","導師","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class jim {
public static void main(String[] args) {
int list [][]=
{ {0,1,0,0,0},
{2,1,3,0,4},
{2,5,3,6,4},
{2,5,3,6,4},
{0,7,0,8,9},
{0,7,0,8,9},
{0,0,0,8,9},
{0,0,0,10,9},
{0,0,0,10,0}
};
String x[]={"","資料結構","心理衛生","計算機概論","密碼學","道德倫理","軟體測試","ios基礎設計","微積分","資料庫","人類"};
System.out.println("\t"+"一"+"\t"+"二"+"\t"+"三"+"\t"
+"五"+"\t"+"六"+"\t");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class hello1001 {
public static void main(String[] args) {
int list[][]=
{{0,0,0,5,0}, //1
{1,0,4,5,0}, //2
{1,3,4,6,9}, //3
{1,3,4,6,9}, //4
{2,0,0,7,10}, //5
{2,0,0,7,10}, //6
{2,0,0,7,10}, //7
{0,0,0,8,11}, //8
{0,0,0,8,11}, //9
};
String x[]={"","資料結構","Flash動畫設計","公民社會概論","企業電子化","英文","導師","統計學","人類活動與地球環境變遷","體育","資料庫管理系統","海洋考古與海洋文明"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class hw {
public static void main(String[]args) {
int list [] [] =
{{1,3,5,0,0},
{1,3,5,9,0},
{1,3,5,9,0},
{2,4,6,7,8},
{2,4,6,7,8},
{2,4,6,0,8},
};
string x[]={"","資料結構","物件導向技術","網路安全","統計學","網際網路程式設計","管理學","計算機概論","資料庫管理","週會"};
system.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五"+"\t");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class hello1001 {
public static void main(String[] args) {
int list[][]=
{{0,0,0,5,0}, //1
{1,0,4,5,0}, //2
{1,3,4,6,9}, //3
{1,3,4,6,9}, //4
{2,0,0,7,10}, //5
{2,0,0,7,10}, //6
{2,0,0,7,10}, //7
{0,0,0,8,11}, //8
{0,0,0,8,11}, //9
};
String x[]={"","資料結構","Flash動畫設計","公民社會概論","企業電子化","英文","導師","統計學","人類活動與地球環境變遷","體育","資料庫管理系統","海洋考古與海洋文明"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class hello1001 {
public static void main(String[] args) {
int list[][]=
{{0,0,0,5,0}, //1
{1,0,4,5,0}, //2
{1,3,4,6,9}, //3
{1,3,4,6,9}, //4
{2,0,0,7,10}, //5
{2,0,0,7,10}, //6
{2,0,0,7,10}, //7
{0,0,0,8,11}, //8
{0,0,0,8,11}, //9
};
String x[]={"","資料結構","Flash動畫設計","公民社會概論","企業電子化","英文","導師","統計學","人類活動與地球環境變遷","體育","資料庫管理系統","海洋考古與海洋文明"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class hello1001 {
public static void main(String[] args) {
int list[][]=
{{0,0,0,5,0}, //1
{1,0,4,5,0}, //2
{1,3,4,6,9}, //3
{1,3,4,6,9}, //4
{2,0,0,7,10}, //5
{2,0,0,7,10}, //6
{2,0,0,7,10}, //7
{0,0,0,8,11}, //8
{0,0,0,8,11}, //9
};
String x[]={"","資料結構","Flash動畫設計","公民社會概論","企業電子化","英文","導師","統計學","人類活動與地球環境變遷","體育","資料庫管理系統","海洋考古與海洋文明"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class abc
{
public static void main(String[] args)
{
int [][] courses={{0,0,0,4,0},
{1,0,3,4,0},
{1,2,3,6,0},
{1,2,3,6,0},
{7,0,0,8,5},
{7,0,0,8,5},
{7,0,0,8,5},
{0,0,0,9,0},
{0,0,0,9,0}};
String x[]={"","資結","公民","企業","英文","資料庫","導師","物件","統計","人類"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for(int i=0; i<courses.length;i++)
{
System.out.print(++(time)+"\t");
for(int j=0;j<courses[i].length;j++)
{
System.out.print(x[courses[i][j]]+"\t");
}
System.out.println();
}
}
}
public class courses {
public static void main(String[] args) {
int list [][]=
{ {0,1,0,0,0},
{2,1,3,0,4},
{2,5,3,6,4},
{2,5,3,6,4},
{0,7,0,8,9},
{0,7,0,8,9},
{0,0,0,8,9},
{0,0,0,10,9},
{0,0,0,10,0}
};
String x[]={"","英文","資料","企業","生管","公民 ","週會","體育","統計學","資料庫","人類"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"
+"週四"+"\t"+"週五"+"\t");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class jj123 {
public static void main(String[] args) {
int list[][]=
{{0,0,0,4,8}, //1
{1,0,3,4,8}, //2
{1,2,3,5,0}, //3
{1,2,3,5,0}, //4
{0,0,0,6,9}, //5
{0,0,0,6,9}, //6
{0,0,0,6,9}, //7
{0,0,0,7,0}, //8
{0,0,0,7,0}, //9
};
String x[]={"","資料結構","公民社會概論","企業電子化","英文","導師","統計學","人類活動與地球環境變遷","體育","資料庫管理系統",};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
package h4;
public class hello{
public static void main(String[] args) {
int list[][]=
{{0,2,0,0,0},
{1,2,0,5,0,0},
{1,3,5,6,9},
{1,3,5,6,9},
{0,4,0,7,10},
{0,4,0,7,10},
{0,0,0,7,10},
{0,0,0,8,0},
{0,0,0,8,0},
};
String x[]={"","資料結構","英文","公民社會概論","體育","企業電子化","導師","統計學","人類活動與地球環境變遷","中國通史","資料庫管理系統"};
System.out.println("\t"+"週一"+"\t"+"週二 "+"\t"+"週三 "+"\t"+"週四"+"\t"+"週五"+"\t");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
}
}
}
public class jj123 {
public static void main(String[] args) {
int list[][]=
{{0,0,0,4,8}, //1
{1,0,3,4,8}, //2
{1,2,3,5,0}, //3
{1,2,3,5,0}, //4
{0,0,0,6,9}, //5
{0,0,0,6,9}, //6
{0,0,0,6,9}, //7
{0,0,0,7,0}, //8
{0,0,0,7,0}, //9
};
String x[]={"","資料結構","公民社會概論","企業電子化","英文","導師","統計學","人類活動與地球環境變遷","體育","資料庫管理系統",};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class jj123 {
public static void main(String[] args) {
int list[][]=
{{0,0,0,4,8}, //1
{1,0,3,4,8}, //2
{1,2,3,5,0}, //3
{1,2,3,5,0}, //4
{0,0,0,6,9}, //5
{0,0,0,6,9}, //6
{0,0,0,6,9}, //7
{0,0,0,7,0}, //8
{0,0,0,7,0}, //9
};
String x[]={"","資料結構","公民社會概論","企業電子化","英文","導師","統計學","人類活動與地球環境變遷","體育","資料庫管理系統",};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class jj123 {
public static void main(String[] args) {
int list[][]=
{{0,0,0,4,8}, //1
{1,0,3,4,8}, //2
{1,2,3,5,0}, //3
{1,2,3,5,0}, //4
{0,0,0,6,9}, //5
{0,0,0,6,9}, //6
{0,0,0,6,9}, //7
{0,0,0,7,0}, //8
{0,0,0,7,0}, //9
};
String x[]={"","資料結構","公民社會概論","企業電子化","英文","導師","統計學","人類活動與地球環境變遷","體育","資料庫管理系統",};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
package h4;
public class hello{
public static void main(String[] args) {
int list[][]=
{{0,2,0,0,0},
{1,2,0,5,0,0},
{1,3,5,6,0},
{1,3,5,6,0},
{0,0,0,7,10},
{0,0,0,7,10},
{0,4,0,7,10},
{0,4,0,8,0},
{0,0,0,8,0},
};
String x[]={"","資料結構","英文","公民社會概論","體育","企業電子化","導師","統計學","人類活動與地球環境變遷","資料庫管理系統"};
System.out.println("\t"+"週一"+"\t"+"週二 "+"\t"+"週三 "+"\t"+"週四"+"\t"+"週五"+"\t");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
}
}
}
public class hello{
public static void main (String[]args){
int list[][]=
{{0,0,0,4,0},
{1,0,3,4,0},
{1,2,3,5,8},
{1,2,3,5,8},
{0,0,0,6,9},
{0,0,0,6,9},
{0,0,0,6,9},
{0,0,0,7,0},
{0,0,0,7,0},
};
String x[]={"","資料結構","公民社會","企業","英文","導師","統計學","地球環境","體育","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class test {
public static void main(String[] args){
int list[][]=
{
{0,5,0,3,0},
{1,5,6,3,0},
{1,4,6,8,11},
{1,4,6,8,11},
{0,7,0,9,12},
{0,7,0,9,12},
{2,7,0,9,12},
{2,0,0,10,0},
{2,0,0,10,0},
};
String x[]={"","資料結構","土地開發","英文","公民社會","體育","企業電子","策略管理","班會","統計學","環境變遷","商業演說","資料結構"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=1;
for (int i=0;i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length;j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class hello{
public static void main (String[]args){
int list[][]=
{{0,0,0,4,8},
{1,0,3,4,8},
{1,2,3,5,0},
{1,2,3,5,0},
{0,0,0,6,9},
{0,0,0,6,9},
{0,0,0,6,9},
{0,0,0,7,0},
{0,0,0,7,0},
};
String x[]={"","資料結構","公民社會","企業","英文","導師","統計學","地球環境","體育","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class jj123 {
public static void main(String[] args) {
int list[][]=
{{0,0,0,4,8}, //1
{1,0,3,4,8}, //2
{1,2,3,5,0}, //3
{1,2,3,5,0}, //4
{0,0,0,6,9}, //5
{0,0,0,6,9}, //6
{0,0,0,6,9}, //7
{0,0,0,7,0}, //8
{0,0,0,7,0}, //9
};
String x[]={"","資料結構","公民社會概論","企業電子化","英文","導師","統計學","人類活動與地球環境變遷","體育","資料庫管理系統",};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class test {
public static void main(String[] args){
int list[][]=
{
{0,5,0,3,0},
{1,5,6,3,0},
{1,4,6,8,11},
{1,4,6,8,11},
{0,7,0,9,12},
{0,7,0,9,12},
{2,7,0,9,12},
{2,0,0,10,0},
{2,0,0,10,0},
};
String x[]={"","資料結構","土地開發","英文","公民社會","體育","企業電子","策略管理","班會","統計學","環境變遷","商業演說","資料結構"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=1;
for (int i=0;i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length;j++)
{
System.out.print(x[list[i][j]]+"\t");
}
System.out.println();
}
}
}
public class test{
public static void main(String[] args) {
int list[][]=
{{0,2,0,0,0},
{1,2,10,0,0},
{1,3,10,11,0},
{1,3,10,11,0},
{4,5,0,6,7},
{4,5,0,6,7},
{4,8,9,6,7},
{0,8,9,12,0},
{0,0,9,12,0},
};
String x[]={"\t"+"","\t"+"資料結構","\t"+"英文","\t"+"公民","\t"+"生產管理","\t"+"體育","\t"+"統計學",
"\t"+"資料庫管理","\t"+"國際關係","\t"+"多媒體","\t"+"企業電子化","班會","\t"+"人類環境"};
System.out.println("\t\t"+"週一"+"\t\t"+"週二"+"\t\t"+"週三"+
"\t\t"+"週四"+"\t\t"+"週五"+"\t\t");
int time=0;
for (int i=0;i<list.length;i++)
{
System.out.print(++(time)+"\t");
for (int j=0;j<list[i].length;j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
}
}
}
public class hello {
public static void main(String[] args) {
int list[][]=
{{0,0,0,4,0},
{1,0,3,4,0},
{1,2,3,5,8},
{1,2,3,5,8},
{0,0,0,6,9},
{0,0,0,6,9},
{0,0,0,6,9},
{0,0,0,7,0},
{0,0,0,7,0},
};
String x[]={"","資料結構","公民社會","企業電子化","英文","導師","統計學","人類活動","體育","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
}
}
}
public class b10033016 {
public static void main(String[] args)
throws Exception //例外處理
{
int [][] courses=
{{0,2,0,0,0}, //1
{1,2,5,0,10}, //2
{1,3,5,7,10}, //3
{1,3,5,7,10}, //4
{0,4,6,8,11}, //5
{0,4,6,8,11}, //6
{0,0,6,8,11}, //7
{0,0,0,9,0}, //8
{0,0,0,9,0},};//9
String x[]={"","資料結構","英文","公民","體育","企業電子","行動通訊","班會","統計學","人類活動","密碼學","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<courses.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<courses[i].length; j++)
{
System.out.print(x[courses[i][j]]+"\t");
}
System.out.println();
}
}
}
public class hello{
public static void main(String[] args) {
int list[][]=
{{0,2,0,0,0},
{1,2,0,5,0,0},
{1,3,5,6,9},
{1,3,5,6,9},
{0,4,0,7,10},
{0,4,0,7,10},
{0,0,0,7,10},
{0,0,0,8,0},
{0,0,0,8,0},
};
String x[]={"","資料結構","英文","公民社會概論","體育","企業電子化","導師","統計學","人類活動與地球環境變遷","中國通史","資料庫管理系統"};
System.out.println("\t"+"週一"+"\t"+"週二 "+"\t"+"週三 "+"\t"+"週四"+"\t"+"週五"+"\t");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for(int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
}
}
}
ublic class test{
public static void main(String[] args) {
int list[][]=
{{0,2,0,0,0},
{1,2,10,0,0},
{1,3,10,11,0},
{1,3,10,11,0},
{4,5,0,6,7},
{4,5,0,6,7},
{4,8,9,6,7},
{0,8,9,12,0},
{0,0,9,12,0},
};
String x[]={"\t"+"","\t"+"資料結構","\t"+"英文","\t"+"公民","\t"+"生產管理","\t"+"體育","\t"+"統計學",
"\t"+"資料庫管理","\t"+"國際關係","\t"+"多媒體","\t"+"企業電子化","班會","\t"+"人類環境"};
System.out.println("\t\t"+"週一"+"\t\t"+"週二"+"\t\t"+"週三"+
"\t\t"+"週四"+"\t\t"+"週五"+"\t\t");
int time=0;
for (int i=0;i<list.length;i++)
{
System.out.print(++(time)+"\t");
for (int j=0;j<list[i].length;j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
}
}
}
public class hello{
public static void main (String[]args){
int list[][]=
{{0,4,0,0,0},
{1,4,6,0,0},
{1,5,6,8,11},
{1,5,6,8,11},
{2,0,7,9,12},
{2,0,7,9,12},
{3,0,0,9,12},
{3,0,0,10,0},
{0,0,0,10,0},
};
String x[]={"","資料結構","體育","美學","英文","公民社會","企業","會計丙級","導師","統計學","人類活動","基礎日文","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
}
}
}
public class hello{
public static void main (String[]args){
int list[][]=
{{0,4,0,0,0},
{1,4,6,0,0},
{1,5,6,8,11},
{1,5,6,8,11},
{2,0,7,9,12},
{2,0,7,9,12},
{3,0,0,9,12},
{3,0,0,10,0},
{0,0,0,10,0},
};
String x[]={"","資料結構","體育","美學","英文","公民社會","企業","會計丙級","導師","統計學","人類活動","基礎日文","資料庫"};
System.out.println("\t"+"週一"+"\t"+"週二"+"\t"+"週三"+"\t"+"週四"+"\t"+"週五");
int time=0;
for (int i=0; i<list.length; i++)
{
System.out.print(++(time)+"\t");
for (int j=0; j<list[i].length; j++)
{
System.out.print(x[list[i][j]]+'\t');
}
System.out.println();
張貼留言