码迷,mamicode.com
首页 >  
搜索关键字:the story of the sto    ( 674个结果
C++文件读取
#include"stdfx.h"int main(){ string strPath = "D:\\TEST\\vs2013Test\\TextQuery\\Beautiful Story.txt"; vector strData; ifstream sourceFiles(strPath, io...
分类:编程语言   时间:2014-10-16 18:12:02    阅读次数:190
[ACM] HDU 5024 Wang Xifeng's Little Plot (构造,枚举)
Wang Xifeng's Little Plot Problem Description 《Dream of the Red Chamber》(also 《The Story of the Stone》) is one of the Four Great Classical Novels of Chinese literature, and it is commonly ...
分类:其他好文   时间:2014-10-14 21:15:09    阅读次数:231
[2-SAT] poj 3207 Ikki's Story IV - Panda's Trick
题目链接: http://poj.org/problem?id=3207 Ikki's Story IV - Panda's Trick Time Limit: 1000MS   Memory Limit: 131072K Total Submissions: 8063   Accepted: 2969 Desc...
分类:其他好文   时间:2014-10-09 03:29:17    阅读次数:290
HDU 3966 Aragorn's Story --树链剖分
题意: 树上路径之间的点统一加减k,查询某点的值解法:不会LCA的解法,于是用树链剖分了,比较简单的剖分,然后用线段树维护就行了,相当于区间更新,单点查询,查询点 i 的值时,只需在线段树中查询pos[u]位置的值即可。加IO优化900+ms代码:#include #include #include...
分类:其他好文   时间:2014-10-07 17:16:13    阅读次数:221
And Then There Was One
http://poj.org/problem?id=3517And Then There Was OneTime Limit:5000MSMemory Limit:65536KTotal Submissions:4805Accepted:2546DescriptionLet’s play a sto...
分类:其他好文   时间:2014-10-07 13:05:13    阅读次数:130
[leetcode]Best Time to Buy and Sell Stock III @ Python
原题地址:https://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock-iii/题意:Say you have an array for which theithelement is the price of a given sto...
分类:编程语言   时间:2014-10-06 23:54:02    阅读次数:266
A Room-Escape game made by Clojure, playing with telnet and pure-text commands - Part 1
Code path: https://github.com/bluesilence/Lisp/tree/master/clojure/projects/room-escape As I have been a fan of room-escape games, there have always been a desire to make my own story of a roo...
分类:Web程序   时间:2014-10-05 17:44:38    阅读次数:269
[Clojure] A Room-Escape game, playing with telnet and pure-text commands - Part 3
Code Path: https://github.com/bluesilence/Lisp/blob/master/clojure/projects/room-escape/src/room_escape/script.clj Extract Story to TXT In order to move the story from .clj into .txt, I lever...
分类:Web程序   时间:2014-10-05 17:36:38    阅读次数:214
poj3207:Ikki's Story IV-Panda's Trick【2-sat tarjan】
题目大意:圆盘上顺次安放0, 1, 2, …, n – 1的点,每次给出两个点需要连边,可以选择在圆盘的正面连边或在圆盘的反面连边,问是否存在一种方案使得所有连线不相交?思路:本问题可以等价成:圆盘上原本有N条线,每条线在正反面都有画上,将在正反面的两条线只保留一根,问是否存在一种方案使得所有连线不...
分类:其他好文   时间:2014-10-05 14:43:28    阅读次数:198
HDOJ 3966 Aragorn's Story
树链剖分+树状数组 Aragorn's Story Time Limit: 10000/3000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2934    Accepted Submission(s): 806 Problem Descriptio...
分类:其他好文   时间:2014-10-01 23:30:41    阅读次数:300
674条   上一页 1 ... 59 60 61 62 63 ... 68 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!