- 博客(4)
- 收藏
- 关注
原创 Floyd算法Cpp实现
#include #define max 10 using namespace std; int ret[4][4]={0}; void set(int x,int y,int z){ ret[x][y]=z; } void reset(){ for(int i=0;i<4;i++) for(int k=0;k<4;k++) ret[i][k]=max; } void Folyd(){
2014-10-13 20:30:22
411
原创 Warshall算法C++实现
#include "iostream" #ifndef MAXSIZE #define MAXSIZE 1000 #endif using namespace std; int matrix[MAXSIZE][MAXSIZE]; int size; void getT(){ cout<<"Input the element amounts:"; cin>>size; cout<<"Input
2014-10-13 20:26:19
1163
原创 HTML5推箱子机理实现
Sorry Your explorer cannot use HTML5 Restart function reset(){ window.location.reload(); } var x; var y; var myx=6; var
2014-09-20 23:33:50
705
转载 js文件操作
HTML5-js文件操作 使用类:ActiveXObject("FileSystemObject") Init: var FSO=new ActiveXObject("Scripting.FileSystemObject"); File : var file=FSO.createtextfile("D:\\1.txt") var handl
2014-09-20 23:31:08
250
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人