首先要对面向对象有一定了解,下面利用继承与派生的方式来演示java的面向对象过程;创建一个java工程,添加一个新的pakage:Shapec;添加一个新类,写入代码/* * To change this template, choose Tools | Templates * and open t...
分类:
编程语言 时间:
2014-11-09 23:37:23
阅读次数:
389
今天看Java视频,顺带学习了一下DOS命令,这也帮助我很好的理解Ubuntu下控制台命令。 1.dir (directory)查看某个盘或文件下的目录(所以文件及文件夹)2.cd (change directory) 进入某文件目录下(如:cd apple*进入一个文件夹下,名称开头为apple....
Descriptionn participants of ?crazy tea party? sit around the table. Each minute one pair of neighbors can change their places. Find the minimum time ...
分类:
其他好文 时间:
2014-11-09 00:56:48
阅读次数:
241
SticksProblem's Link:http://poj.org/problem?id=1011Mean:http://poj.org/problem?id=1011&lang=zh-CN&change=trueanalyse:爆搜,但是其中蕴含着很多剪枝。Time complexity: O...
分类:
其他好文 时间:
2014-11-07 20:47:43
阅读次数:
218
注意PE……
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
int coin[5]={1,5,10,25,50};
long long dp[30010];
int main()
{
int i,j;
dp[0]=1;...
分类:
其他好文 时间:
2014-11-07 19:10:12
阅读次数:
227
Problem Description
The God of sheep decides to pixelate some pictures (i.e., change them into pictures with mosaic). Here's how he is gonna make it: for each picture, he divides the picture into n x...
分类:
其他好文 时间:
2014-11-07 19:04:18
阅读次数:
373
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
int coin[11]={10000,5000,2000,1000,500,200,100,50,20,10,5};
long long dp[30010][20];
long...
分类:
其他好文 时间:
2014-11-07 14:55:33
阅读次数:
164
我的第一段 JavaScript JavaScript 能够对事件作出反应。比如对按钮的点击: JavaScript change HTMLelement Content +
分类:
编程语言 时间:
2014-11-07 13:00:31
阅读次数:
262
知道<canvas>吗?如果你不熟悉<canvas>,学习他的最好方法是去看一个简单的例子。下面的HTML和JavaScript将在<canvas>域内生成一个橙色的矩形区域。推荐学习相关HTML高级教程。<canvasid="example1"width="400"height="300"></canvas>//getthecan..
分类:
其他好文 时间:
2014-11-06 17:52:49
阅读次数:
248
MD_CHANGE_MRP_DATA方法设置:change_mdpsx_vbbe 中可以设置信用冻结的销售单不参与MRP运算,CH_CHANGED = 'X'.change_mdpsx_mdfa 中可以设置特定的生产订单部参与MRP运算
分类:
其他好文 时间:
2014-11-06 14:40:27
阅读次数:
501