码迷,mamicode.com
首页 >  
搜索关键字:Once    ( 2791个结果
建图 FZU 2112
Description You have won a collection of tickets on luxury cruisers. Each ticket can be used only once, but can be used in either direction between the 2 different cities printed on the ticket. You...
分类:其他好文   时间:2014-12-10 21:21:03    阅读次数:248
C++命名空间使用代码
namesp.h 1 #pragma once 2 #include 3 4 namespace pers 5 { 6 using namespace std; 7 struct Person 8 { 9 string fname;10 s...
分类:编程语言   时间:2014-12-10 00:27:37    阅读次数:285
Substring with Concatenation of All Words leetcode
You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenation of each word in L exactly once and without ...
分类:其他好文   时间:2014-12-09 23:11:01    阅读次数:275
[转]PHP 汉字转拼音
转自: https://git.oschina.net/wapznw/php-pinyin */require_once 'PinYin/PinYin.class.php';print_r(PinYin::toPinyin('重庆是一个很重要的城市'));print_r(PinYin::toPiny...
分类:Web程序   时间:2014-12-09 15:35:49    阅读次数:156
【LeetCode】Remove Duplicates from Sorted List
Given a sorted linked list, delete all duplicates such that each element appear only once....
分类:其他好文   时间:2014-12-09 00:36:43    阅读次数:202
dvd
1:dvd-r全称为DVD-Recordable(可记录式DVD),被定义为Write once DVD(一次写入式DVD),只能续写,不能擦除2:dvd-rw全称为DVD-ReWritable(可重写式DVD),被定义为Re-recordable DVD(可重记录型DVD),可以擦除,可以续写3:...
分类:其他好文   时间:2014-12-08 00:44:07    阅读次数:137
文件加密工具
引言: 在开发一款对外的软件程序时,难免要用到配置文件,而其中某些数据开发者并不期望用户获知或是修改,通常会对一些配置文件进行加密。 下面是我个人编写的,windows环境下基于XOR算法,带有图形界面的文件批量加密工具。 源代码: 由于XOR算法是直接可逆的,故源代码中略去了部分代码。 EncryptXML.h: #pragma once #include #include...
分类:其他好文   时间:2014-12-07 19:11:33    阅读次数:414
Oulipo(poj3461)(KMP)
Oulipo Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 25172   Accepted: 10107 Description The French author Georges Perec (1936–1982) once wrote a book, La ...
分类:其他好文   时间:2014-12-07 13:52:10    阅读次数:169
校赛部分水题
1236: xq and Crystal Mine Time Limit: 1 Sec  Memory Limit: 128 MB Submit: 313  Solved: 76 [Submit][Status][Web Board] Description xq once got a crystal from the Crystal Mine. A crystal of...
分类:其他好文   时间:2014-12-07 13:51:13    阅读次数:353
条件编译
一,#pragma这个命令是定义编译器的状态以及指示编译器做某些事情。我们只介绍常见的一些。(1)#pragma once 这个加到.h文件头前面,这样就表示.h文件只被编译一次,当然是在没有被改变的时候。(2)#pragma comment(lib,“自己编写lib所在路径”)这条命令告诉链接器在...
分类:其他好文   时间:2014-12-07 12:28:56    阅读次数:293
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!