�z����̃f�[�^���\�[�g����i�V�F���\�[�g�j


������u���E�U�@�y IE:3.0�@ NN:2.0�z
Internet Explorer Netscape Navigator DreamPassport iCab
3.0x 4.0x 4.5 5.0x 5.5 2.0x 3.0x 4.0x 4.x 6.0 2 3 2.x
Windows �� �� - �� �� �� �� �� �� �� - �� -
Macintosh �� �� �� �� - �� �� �� �� �� - - ��
UNIX - - - - - �� �� �� �� �� - - -
Dreamcast - - - - - - - - - - �� �� -

�|�C���g for (h=data.length/2; h>0; h/=2) { for (i=h; i<data.length; i++) { n = data[i]; j = i; while ((j >= h) && (n < data[j-h])) { data[j] = data[j-h]; j -= h; } data[j] = n; } }
���@�@�� �\�[�g���@�̂P�‚ɃV�F���\�[�g������܂��B�Ԋuh���Ƃɑ}���@���s���܂��B�Ԋuh�����炵�}���@���J��Ԃ����ƂŃ\�[�g���s���܂��B
�T���v�� <html> <head> <title>�z����̃f�[�^���\�[�g����i�V�F���\�[�g�j</title> <script language="JavaScript"><!-- data = new Array(-30,10,5,-99,44,65,31,-78); function sortData() { for (h=data.length/2; h>0; h/=2) { for (i=h; i<data.length; i++) { n = data[i]; j = i; while ((j >= h) && (n < data[j-h])) { data[j] = data[j-h]; j -= h; } data[j] = n; } } } function printArray() { for (i=0; i<data.length; i++) document.write(data[i],", "); document.write("<br>"); } // --></script> </head> <body> �z����̃f�[�^���\�[�g����i�V�F���\�[�g�j<br><br> �\�[�g�O�F<br> <script langauge="JavaScript"><!-- printArray(); // --></script> <br> �\�[�g��F�i�����j<br> <script langauge="JavaScript"><!-- sortData(); printArray(); // --></script> </body> </html>
�⑫���� �Ȃ�

���T���v���X�N���v�g�����s����@>>���s
���e�u���E�U�ł̓��쌋�ʂ�����@>>View!

�ʐ^�f�� PIXTA