5 saber_acher

尚未进行身份认证

我要认证

暂无相关简介

等级
TA的排名 10w+

string '\0' 字符 在linux 和window 下的区别

 string 是一个封装好的库。所以具体实现还是要看库怎么实现的。截至本博客,个人试验结果:window:     string 本身是可以存储'\0'字符,'\0'字符只是char 数组的结束符。     如果是一个字符一个字符赋值,string 是可以直接输出空字符的。    但是如果是string s=“12\034"这样的赋值是无法存储的。  理由:"12\034...

2019-01-24 09:54:43

c++ 创建文件路径

c++创建文件路径过程

2018-09-26 08:57:22

C#学习笔记

跟着方老师和闵师兄用c#做的项目,就稍微来整理一下c#的一些用法。首先是在devexpress框架下实现的。DevExpress 开发的控件有很强的实力,不仅功能丰富,应用简便,而且界面华丽,更可方便定制。对于编程人员来说是个不错的选择。它的菜单栏控件更具代表,完全可以替代开发环境提供的基本控件,而让您编写的程序或软件更显专业化。它还提供完善的帮助系统,资料详尽,可

2018-02-11 13:32:03

hdu 5093 Battle ships(二分图匹配)

Battle shipsTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1389    Accepted Submission(s): 519Problem DescriptionDear contestant,

2017-05-17 22:53:29

codeforces Volatile Kite(几何)

D. Volatile Kitetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a convex polygon P with n distinct v

2017-04-17 09:18:56

hihocode 1488 排队接水(莫队算法)

排队接水时间限制:10000ms单点时限:1000ms内存限制:256MB描述有n个小朋友需要接水,其中第i个小朋友接水需要ai分钟。由于水龙头有限,小Hi需要知道如果为第l个到第r个小朋友分配一个水龙头,如何安排他们的接水顺序才能使得他们等待加接水的时间总和最小。小Hi总共会有m次询问,你能帮助他解决这个问题吗?假设3个小朋友接水的

2017-03-28 23:13:32

hdu 2222 Keywords Search(ac自动机水题)

Keywords SearchTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 60242    Accepted Submission(s): 19853Problem DescriptionIn the m

2017-03-10 07:45:21

poj 2763 Housewife Wind(RQM+树状数组)

Housewife WindTime Limit: 4000MS Memory Limit: 65536KTotal Submissions: 10639 Accepted: 2949DescriptionAfter their royal wedding, Jiajia and Wind hid away in XX Vil

2017-03-03 10:59:20

poj 2732 Get Luffy Out(2分+2-sat)

Get Luffy OutTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 8671 Accepted: 3363DescriptionRatish is a young man who always dreams of being a hero. One da

2017-03-01 20:17:25

poj 3678 Katu Puzzle(2-sat)

Katu PuzzleTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 9684 Accepted: 3620DescriptionKatu Puzzle is presented as a directed graph G(V, E) with eac

2017-02-28 19:49:48

poj 3683 Priest John's Busiest Day(2—sat)

Priest John's Busiest DayTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 9545 Accepted: 3256 Special JudgeDescriptionJohn is the only priest in hi

2017-02-27 21:55:44

hdu 5724 Chess(sg博弈)

ChessTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2395    Accepted Submission(s): 1012Problem DescriptionAlice and Bob are play

2017-02-26 22:25:47

poj 1236 Network of Schools(强连通分量缩点)

Network of SchoolsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 17230 Accepted: 6838DescriptionA number of schools are connected to a computer network.

2017-02-25 16:39:37

hdu 1402 A * B Problem Plus(FFT)

A * B Problem PlusTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 19410    Accepted Submission(s): 4527Problem DescriptionCalculat

2017-02-14 20:55:07

最小费用流小结

最近小刷了一下最小费用流,久违的小结一下。最小费用流常见的有两种算法:一种是常用的连续最短路算法。另一种是消负圈算法(任意求出一个流,然后不断消去负圈而得到的最小费用流),这种只看到poj 2175 有相关的应用,而且只是求次优,求完整的最小费用流还是第一种好。最小费用流中,模板都是固定的,关键在于如何建图。建图过程在于如何将问题如何抽象出来,最小费用流只有两个特点:一是费用,

2017-02-10 21:04:49

hdu 4862 Jump(最大费用流)

JumpTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1436    Accepted Submission(s): 610Problem DescriptionThere are n*m grids, eac

2017-02-10 15:59:02

hdu 4780 Candy Factory(最小费用流)

Candy FactoryTime Limit: 4000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 541    Accepted Submission(s): 265Problem Description  A new candy fa

2017-02-08 21:05:11

hdu 3376 Matrix Again(最小费用流)

Matrix AgainTime Limit: 5000/2000 MS (Java/Others)    Memory Limit: 102400/102400 K (Java/Others)Total Submission(s): 4235    Accepted Submission(s): 1226Problem DescriptionStarvae very

2017-02-08 10:26:22

hdu 1533 (最小费用流)

Going HomeTime Limit: 10000/5000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4852    Accepted Submission(s): 2545Problem DescriptionOn a grid map th

2017-02-07 16:46:25

hdu 6012 Lotus and Horticulture(贪心)

Lotus and HorticultureTime Limit: 4000/2000 MS (Java/Others)    Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 585    Accepted Submission(s): 188Problem DescriptionThese

2017-01-26 10:13:03

查看更多

勋章 我的勋章
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!