herrDeng網內搜尋

自訂搜尋

Ads

2013年5月28日 星期二

產生50個元素的陣列並排序

產生50個元素的陣列並排序

53 則留言:

B9933179陳俊翰 提到...

import java.util.Arrays;

public class t0528 {

public static void randomInt50(int[] a){
int i;
for(i=0;i<a.length;i++){
a[i]=(int)Math.round(Math.random()*100);
System.out.print(i+"->"+a[i]+" ");
}
}

public static void main(String[] args) {
int[] a=new int[50];
randomInt50(a);
System.out.println("");
for (int j=0;j<14;j++)
System.out.print("---------我是分隔線---------");
System.out.println("");
Arrays.sort(a);
for(int i=0;i<a.length;i++)
System.out.print(i+"->"+a[i]+" ");
}
}

b10133032黃徐琨 提到...

import java.io.*;
import java.util.*;

public class aa
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

b10133037施竣哲 提到...

import java.io.*;
import java.util.*;

public class jerry
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

b10133032黃徐琨 提到...

import java.io.*;
import java.util.*;

public class aa
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

b10133019王騰侑 提到...

import java.io.*;
import java.util.*;

public class aa
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

b10133005李沛澤 提到...

import java.io.*;
import java.util.*;

public class abc
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

b10133021吳屹軒 提到...

import java.io.*;
import java.util.*;

public class aa
{
⋯⋯ public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133016王致翔 提到...

import java.util.*;
public class MtcTW
{
public static void randomInt900(int []a)
{
for(int i=0; i<a.length; i++)
{
a[i]=(int)Math.round(Math.random()*100);
System.out.println(i+"->"+a[i]);
{
if(i%10==9)
System.out.println();
}
}
}
public static void main(String[] args)
{
int [] a=new int[50];
randomInt900(a);
System.out.println("--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------");
Arrays.sort(a);
for(int i=0; i<a.length; i++)
{
System.out.println(i+"->"+a[i]);
{
if(i%10==9)
System.out.println();
}
}
}
}

b10133045林玹安 提到...

import java.util.*;
public class apple
{
public static void randomInt900(int []a)
{
for(int i=0; i<a.length; i++)
{
a[i]=(int)Math.round(Math.random()*100);
System.out.println(i+"->"+a[i]);
{
if(i%10==9)
System.out.println();
}
}
}
public static void main(String[] args)
{
int [] a=new int[50];
randomInt900(a);
System.out.println("------------------------------");
Arrays.sort(a);
for(int i=0; i<a.length; i++)
{
System.out.println(i+"->"+a[i]);
{
if(i%10==9)
System.out.println();
}
}
}
}

b10133023徐顥 提到...

import java.util.*;
public class Sam
{
public static void randomInt900(int []a)
{
for(int i=0; i<a.length; i++)
{
a[i]=(int)Math.round(Math.random()*100);
System.out.println(i+"->"+a[i]);
{
if(i%10==9)
System.out.println();
}
}
}
public static void main(String[] args)
{
int [] a=new int[50];
randomInt900(a);
System.out.println("++++++++++++++++++++++++++++++++++++");
Arrays.sort(a);
for(int i=0; i<a.length; i++)
{
System.out.println(i+"->"+a[i]);
{
if(i%10==9)
System.out.println();
}
}
}
}

b10133015楊超文 提到...

import java.io.*;
import java.util.*;

public class aa
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133002謝佩紋 提到...

import java.io.*;
import java.util.*;

public class ex1
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133014 吳欣怡 提到...

import java.io.*;
import java.util.*;

public class ex1
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133009 王韋翔 提到...

import java.util.*;
public class ex1 {
public static void randomInt1000(int []a)
{
for(int i=0;i<a.length;i++)
{
a[i]=(int)Math.round(Math.random()*1000);
System.out.print(i+"->"+a[i]+",");
if(i%10==9)
{
System.out.println("");
}
}
}

public static void main(String[] args)
{
int a[]=new int[50];
randomInt1000(a);
System.out.println("");
System.out.println("----------------------------------------------------------------------------------------------------------");
Arrays.sort(a);
for (int i=0;i<a.length;i++)
{
System.out.print(i+"->"+a[i]+",");
if(i%10==9)
{
System.out.println("");
}
}

}

}

B10133031 邱敏惠 提到...

import java.io.*;
import java.util.*;

public class java
{
public static void main(String[] args)
{
int[] a = new int[50];
⋯⋯ for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133011黃怡蓁 提到...

import java.io.*;
import java.util.*;

public class hello
{
public static void main(String[] args)
{
int[] a = new int[50];
⋯⋯ for (int i=0; i &lt; a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i&lt;a.length;i++)

{
System.out.print(&quot;\r&quot;);
System.out.print(a[i]+&quot;\t&quot;);
}
System.out.println();
}
}

B10133042沈俞宜 提到...

import java.io.*;
import java.util.*;

public class ket
{
public static void main(String[] args)
{
int[] a = new int[50];
⋯⋯ for (int i=0; i &lt; a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i&lt;a.length;i++)

{
System.out.print(&quot;\r&quot;);
System.out.print(a[i]+&quot;\t&quot;);
}
System.out.println();
}
}

B10133047鄭兆珊 提到...

import java.io.*;
import java.util.*;

public class San
{
public static void main(String[] args)
{
int[] a = new int[50];
⋯⋯ for (int i=0; i &lt; a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i&lt;a.length;i++)

{
System.out.print(&quot;\r&quot;);
System.out.print(a[i]+&quot;\t&quot;);
}
System.out.println();
}
}

B10133010蔡以翎 提到...

import java.util.*;
public class hello123{

public static void main(String[] args){
int[] a = new int[50];
for (int i=0; i < a.length ;i++){
a[i] = (int)(Math.random()*1000+1);
}
Arrays.sort(a);
for (int i=0;i<a.length;i++){
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133004徐芷瑩 提到...

import java.util.*;
public class hello123{
public static void main(String[] args){
int[] a = new int[50];
for (int i=0; i < a.length ;i++){
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++){
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133048饒家華 提到...

import java.util.Arrays;
public class got {
public static void main(String[] args) {
int[] a=new int[50];
for(int i=0; i<a.length; i++){
a[i]=(int)(Math.random()*1000+1);
}
Arrays.sort(a);
for(int i=0; i<a.length; i++){
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}

}

B10133040 溫翊惠 提到...

import java.util.*;
public class xxx{
public static void main(String[] args){
int[] a = new int[50];
for (int i=0; i < a.length ;i++){
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++){
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133017張永憲 提到...

import java.io.*;
import java.util.*;

public class aa
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
if (i%10==0)
System.out.print("\r");
System.out.print(i+1+"->"+a[i]+"\t");
}
System.out.println();
}
}

B10133037施竣哲 提到...

import java.io.*;
import java.util.*;

public class aa
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
if (i%10==0)
System.out.print("\r");
System.out.print(i+1+"->"+a[i]+"\t");
}
System.out.println();
}
}

匿名 提到...

import java.util.Arrays;
import java.util.Random;
public class aa {
public static void pr(int a[])
{
for(int i=0; i<a.length;i++){
System.out.print(i+"->"+a[i]+"\t");
if (i%10==9) System.out.println();
}
}
public static void main(String[] args) {
int a[]=new int[50];
Random x=new Random();
for(int i=0;i<a.length;i++)
a[i]=x.nextInt(1001);
Arrays.sort(a);
pr(a);
}
}

B9933122 苑珮婕 提到...

import java.util.Arrays;
import java.util.Random;
public class aa {
public static void pr(int a[])
{
for(int i=0; i<a.length;i++){
System.out.print(i+"->"+a[i]+"\t");
if (i%10==9) System.out.println();
}
}
public static void main(String[] args) {
int a[]=new int[50];
Random x=new Random();
for(int i=0;i<a.length;i++)
a[i]=x.nextInt(1001);
Arrays.sort(a);
pr(a);
}
}

B10036036陸語萱 提到...

import java.util.*;

public class ex0530 {
public static void pr(int[] a) {
for(int i=0;i<a.length;i++){
System.out.print(i+"->"+a[i]+"\t");
if(i%10==9) System.out.println();
}
}
public static void main(String [] args){
int a[]=new int[50];
Random x=new Random();
for (int i=0;i<a.length;i++)
a[i]=x.nextInt(1001);
Arrays.sort(a);
pr(a);
}
}

B9933133 張靖 提到...

import java.util.Arrays;
import java.util.Random;
public class aa {
public static void pr(int a[])
{
for(int i=0; i<a.length;i++){
System.out.print(i+"->"+a[i]+"\t");
if (i%10==9) System.out.println();
}
}
public static void main(String[] args) {
int a[]=new int[50];
Random x=new Random();
for(int i=0;i<a.length;i++)
a[i]=x.nextInt(1001);
Arrays.sort(a);
pr(a);
}
}

B10133030林潔如 提到...

import java.io.*;
import java.util.*;

public class ex1
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B9833091陳孟偉 提到...

import java.io.*;
import java.util.*;

public class NYPD{

public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}


B9833091陳孟偉 提到...

import java.io.*;
import java.util.*;

public class NYPD{

public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}


B9833102曾冠誌 提到...

import java.io.*;
import java.util.*;

public class aa
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133018翁湘姿 提到...

import java.io.*;
import java.util.*;

public class ex1
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133003王冠文 提到...

import java.io.*;
import java.util.*;

public class test
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133044吳盛盟 提到...

import java.io.*;
import java.util.*;

public class app
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133027黃為邦 提到...

import java.io.*;
import java.util.*;

public class aa
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133038池侑承 提到...

import java.io.*;
import java.util.*;

public class aa
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133013林子恩 提到...

import java.io.*;
import java.util.*;

public class pso2
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133050張珈祥 提到...

import java.io.*;
import java.util.*;

public class ex{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B9833102曾冠誌 提到...

import java.io.*;
import java.util.*;

public class aa
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

b10133025王柏文 提到...

import java.util.*;
public class ex1 {
public static void randomInt1000(int []a)
{
for(int i=0;i"+a[i]+",");
if(i%10==9)
{
System.out.println("");
}
}
}

public static void main(String[] args)
{
int a[]=new int[50];
randomInt1000(a);
System.out.println("");
System.out.println("----------------------------------------------------------------------------------------------------------");
Arrays.sort(a);
for (int i=0;i"+a[i]+",");
if(i%10==9)
{
System.out.println("");
}
}

}

}

b10133025王柏文 提到...

import java.io.*;
import java.util.*;

public class pso2
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}



B10133040溫翊惠 提到...

import java.io.*;
import java.util.*;

public class aa
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133053古聿穎 提到...

import java.io.*;
import java.util.*;

public class aa
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133053古聿穎 提到...

import java.io.*;
import java.util.*;

public class aa
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133033呂之筠 提到...

import java.io.*;
import java.util.*;

public class hello{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

b9933180陳威羽 提到...

import java.util.Arrays;

public class knmj {

public static void randomInt50(int[] a){
int i;
for(i=0;i<a.length;i++){
a[i]=(int)Math.round(Math.random()*100);
System.out.print(i+"->"+a[i]+" ");
}
}

public static void main(String[] args) {
int[] a=new int[50];
randomInt50(a);
System.out.println("");
for (int j=0;j<14;j++)
System.out.print("------------------");
System.out.println("");
Arrays.sort(a);
for(int i=0;i<a.length;i++)
System.out.print(i+"->"+a[i]+" ");
}
}

B10133036孫翊玲 提到...

import java.io.*;
import java.util.*;

public class ex1
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133049 連于瑄 提到...

import java.io.*;
import java.util.*;

public class aa
{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133034石嘉萱 提到...

import java.io.*;
import java.util.*;

public class hello{
public static void main(String[] args)
{
int[] a = new int[50];
for (int i=0; i < a.length ;i++)
{
a[i] = (int)(Math.random()*1000+1);
}

Arrays.sort(a);
for (int i=0;i<a.length;i++)

{
if (i%10==0)
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}

B10133019 王騰侑 提到...

import java.util.Arrays;

public class t0528 {

public static void randomInt50(int[] a){
int i;
for(i=0;i"+a[i]+" ");
}
}

public static void main(String[] args) {
int[] a=new int[50];
randomInt50(a);
System.out.println("");
for (int j=0;j<14;j++)
System.out.print("---------我是分隔線---------");
System.out.println("");
Arrays.sort(a);
for(int i=0;i"+a[i]+" ");
}
}

B10133019 王騰侑 提到...

import java.util.Arrays;

public class t0528 {

public static void randomInt50(int[] a){
int i;
for(i=0;i"+a[i]+" ");
}
}

public static void main(String[] args) {
int[] a=new int[50];
randomInt50(a);
System.out.println("");
for (int j=0;j<14;j++)
System.out.print("---------我是分隔線---------");
System.out.println("");
Arrays.sort(a);
for(int i=0;i"+a[i]+" ");
}
}

B10133043陳宗霖 提到...

import java.util.Arrays;

public class 123 {

public static void randomInt50(int[] a){
int i;
for(i=0;i"+a[i]+" ");
}
}

public static void main(String[] args) {
int[] a=new int[50];
randomInt50(a);
System.out.println("");
for (int j=0;j<14;j++)
System.out.print("---------我是分隔線---------");
System.out.println("");
Arrays.sort(a);
for(int i=0;i"+a[i]+" ");
}
}

Related Posts Plugin for WordPress, Blogger...

熱門文章