当前位置: 技术问答>java相关
一个简单插入排序问题 我就是做不对 编译正确 但是算不对 麻烦大家帮我看看
来源: 互联网 发布时间:2015-03-25
本文导语: import java.io.*; public class insert { public static void main(String args[]) { //int[ ] a={0,0,0,0,0,0,0,0,0,0,0,0,0,0}; int[ ] a={90,56,65,45,6,4,6,7,9,10}; int i; int t=0; int j=0; int h,m=0; String s=" "; for(i=1;i
import java.io.*;
public class insert
{
public static void main(String args[])
{
//int[ ] a={0,0,0,0,0,0,0,0,0,0,0,0,0,0};
int[ ] a={90,56,65,45,6,4,6,7,9,10};
int i;
int t=0;
int j=0;
int h,m=0;
String s=" ";
for(i=1;i
public class insert
{
public static void main(String args[])
{
//int[ ] a={0,0,0,0,0,0,0,0,0,0,0,0,0,0};
int[ ] a={90,56,65,45,6,4,6,7,9,10};
int i;
int t=0;
int j=0;
int h,m=0;
String s=" ";
for(i=1;i