1. 点击Window->Preferences->Java->Code Style->Formatter 2. 点击New,给profile随意取个名字,点击OK 3. Maximum line width:默认80,可以设置成120,或800等想要设置的数字。 4. 一路[apply][ok]点 ...
分类:
系统相关 时间:
2017-05-12 20:18:01
阅读次数:
234
typedef int BOOL; #define TRUE 1; #define FALSE 0; #define UINT_MAX 0xffffffff /* maximum unsigned int value */ enum Scale24AsciiVal { sav_aADis = 32, ...
分类:
编程语言 时间:
2017-05-12 14:25:54
阅读次数:
200
Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Input: [1,1,0,1,1,1] Output: 3 Explanation: The first two di ...
分类:
其他好文 时间:
2017-05-12 13:40:13
阅读次数:
214
// 访问SAP服务 public static String callSAP(passparameter pp, String httpUrl, String getdata) { String resultData = ""; URL geturl = null; try { ... ...
分类:
编程语言 时间:
2017-05-12 11:41:31
阅读次数:
997
一、概念数据模型概述 一、概念数据模型概述 概念数据模型也称信息模型,它以实体-联系(Entity-RelationShip,简称E-R)理论为基础,并对这一理论进行了扩充。它从用户的观点出发对信息进行建模,主要用于数据库的概念级设计。 通常人们先将现实世界抽象为概念世界,然后再将概念世界转为机器世 ...
分类:
其他好文 时间:
2017-05-11 20:56:44
阅读次数:
248
tcp,udp报文最大长度是怎么样的呢? 先来看看各个报文格式: ip报文 tcp报文 udp报文 ip和udp都有16位的长度字段,所以ip和udp报文的最大负载长度应该为2^16,64MB 网络层限制: MTU(Maximum Transmission Unit,最大传输单元),这限制了ip报文 ...
分类:
其他好文 时间:
2017-05-10 20:32:54
阅读次数:
487
Given two arrays of length m and n with digits 0-9 representing two numbers. Create the maximum number of length k <= m + n from digits of the two. Th ...
分类:
其他好文 时间:
2017-05-10 15:38:36
阅读次数:
95
题目:在一个数组中找到一个子数组,让子数组的乘积最大,比如【2,3,-2,4】返回6 思路:之前自己想到的思路是对于一个int类型的数组,只要负数的个数是偶数,那么乘积肯定是全局乘就可以了,然后对于负数个数是奇数的情况,那么我们就找到最前和最后的一个负数,然后分别计算其前后子数组的乘积就可以了!因为 ...
分类:
编程语言 时间:
2017-05-10 00:14:22
阅读次数:
126
题目: Given a binary tree, find the maximum path sum. The path may start and end at any node in the tree. Example Given the below binary tree: 1 / \ 2 3 ...
分类:
其他好文 时间:
2017-05-09 21:39:12
阅读次数:
121