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); }
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); }
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(); } }
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(); } }
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(); } }
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(); } }
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(); } }
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(); } }
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(); } }
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); }
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); }
public class ket { 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); }
public class San { 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); }
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(); } }
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(); } }
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(); } }
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(); } }
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(); } }
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); } }
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(); } }
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); }
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(); } }
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); }
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); }
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); }
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); }
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(); } }
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(); } }
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); }
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(); } }
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); }
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); }
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); }
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(); } }
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(); } }
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); }
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(); } }
53 則留言:
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]+" ");
}
}
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();
}
}
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();
}
}
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();
}
}
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();
}
}
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();
}
}
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();
}
}
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();
}
}
}
}
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();
}
}
}
}
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();
}
}
}
}
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();
}
}
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();
}
}
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();
}
}
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("");
}
}
}
}
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();
}
}
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++)
{
System.out.print("\r");
System.out.print(a[i]+"\t");
}
System.out.println();
}
}
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 < 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();
}
}
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 < 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();
}
}
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();
}
}
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();
}
}
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();
}
}
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();
}
}
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.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);
}
}
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);
}
}
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);
}
}
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);
}
}
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();
}
}
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();
}
}
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();
}
}
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();
}
}
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();
}
}
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();
}
}
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();
}
}
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();
}
}
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();
}
}
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();
}
}
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();
}
}
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();
}
}
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("");
}
}
}
}
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();
}
}
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();
}
}
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();
}
}
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();
}
}
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();
}
}
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]+" ");
}
}
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();
}
}
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();
}
}
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();
}
}
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]+" ");
}
}
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]+" ");
}
}
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]+" ");
}
}
張貼留言