码迷,mamicode.com
首页 > 其他好文
File类的基本操作之读出所有目录路径
package org.mark.file;import java.io.File;/** * File类的基本操作之读出所有文件夹路径 * 假设给定一个文件夹,要求将此文件夹中的所有文件都列出来 * 使用递归 */public class TestChare { /** * @param arg....
分类:其他好文   时间:2014-06-27 12:47:25    阅读次数:180
[leetcode] Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2014-06-27 12:48:10    阅读次数:238
[leetcode] Reverse Nodes in k-Group
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.
分类:其他好文   时间:2014-06-27 12:48:46    阅读次数:259
[leetcode] Divide Two Integers
Divide two integers without using multiplication, division and mod operator.
分类:其他好文   时间:2014-06-27 12:50:12    阅读次数:253
2005: [Noi2010]能量采集 - BZOJ
Description栋栋有一块长方形的地,他在地上种了一种能量植物,这种植物可以采集太阳光的能量。在这些植物采集能量后,栋栋再使用一个能量汇集机器把这些植物采集到的能量汇集到一起。 栋栋的植物种得非常整齐,一共有n列,每列有m棵,植物的横竖间距都一样,因此对于每一棵植物,栋栋可以用一个坐标(x, ...
分类:其他好文   时间:2014-06-27 12:49:27    阅读次数:177
[leetcode] Sudoku Solver
Write a program to solve a Sudoku puzzle by filling the empty cells.
分类:其他好文   时间:2014-06-27 12:50:48    阅读次数:228
[leetcode] Combination Sum II
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.
分类:其他好文   时间:2014-06-27 12:52:03    阅读次数:213
用keyword实现Editor.GetSelection的退出功能
有时候我们在使用GetSelection功能让用户选择实体时,可能会给用户提供一些keyword选项,要接收用户选择的keyword选项,需要用到PromptSelectionOptions.KeywordInput事件。但是,有时为了有时在用户选择了某个keyword项时,需要结束GetSelec...
分类:其他好文   时间:2014-06-27 12:54:02    阅读次数:287
右下角显示提示窗口
$title=“title”$message="hello,world"[void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")$balloon = New-Object System.Windo...
分类:其他好文   时间:2014-06-27 12:54:43    阅读次数:216
[LeetCode] Sort Colors
Given an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, wh...
分类:其他好文   时间:2014-06-27 12:55:53    阅读次数:235
重写操作符
// TestABCD.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include ///////////////////////////////// Environment /////////////////////////////////////////c...
分类:其他好文   时间:2014-06-27 12:56:33    阅读次数:231
FlashBuilder ant构建
背景:一个有着N多模块,N处源码,构建过程复杂的Flex项目开发中,依赖人力手工构建项目非常不现实(机械重复且枯燥无味的过程,相信哪位开发人员都会避之唯恐不及,而且对于人力是非常大的浪费),而通过使用Ant,我们可以将这些工作交给机器来做。 解决:flashbuilder 原本就支持ant构建,我们...
分类:其他好文   时间:2014-06-27 12:58:35    阅读次数:271
Visual Studio解决方案及项目的配置
配置解决方案的属性1.配置解决方案平台,该配置实际上修改的是解决方案目录下的sln(solution)文件。配置项目的属性1.配置项目平台及项目的目标平台:项目-右键-属性-生成(竖着第二个选项卡)可以进行配置,该配置实际上修改的是项目目录下的csproj(c sharpproject)文件。2.改...
分类:其他好文   时间:2014-06-27 12:59:13    阅读次数:318
[leetcode] Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.
分类:其他好文   时间:2014-06-27 12:59:50    阅读次数:176
Delphi下OpenGL2d绘图(02)-画点
一、前言图形的绘制可以使用glBegin()、glEnd()之间完成,绘制的框架代码可以使用Delphi下OpenGL2d绘图(01)-初始化中的代码。修改的部份为 Draw 函数的内容。二、画点使用glPointSize 函数指定栅格化点的直径。默认为1.0,只在GL_POINTS下起作用,关于消...
分类:其他好文   时间:2014-06-27 13:01:02    阅读次数:170
OCP prepare 20140626
1. 查询空值 条件为’’ 是查不出结果的。 如果要查,应该使用 is not null 来查。 QUESTION NO: 135 View the Exhibit and examine the data in the PRODUCTS table. You need to display pro...
分类:其他好文   时间:2014-06-27 13:03:04    阅读次数:251
[leetcode] Median of Two Sorted Arrays
There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be ...
分类:其他好文   时间:2014-06-27 13:03:49    阅读次数:136
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!