自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (1)
  • 收藏
  • 关注

原创 FOJ 1914 Funny Positive Sequence

Funny Positive Sequence Accept: 422    Submit: 1860 Time Limit: 1000 mSec    Memory Limit : 32768 KB Problem Description There are n integers a1,a2,…,an-1,an in the sequence A, the sum of

2016-04-29 21:41:46 332

原创 sdut 2605 Mountain Subsequences(树状数组)

Mountain Subsequences Time Limit: 1000ms   Memory limit: 65536K  有疑问?点这里^_^ 题目描述 Coco is a beautiful ACMer girl living in a very beautiful mountain. There are many trees and flowers on the

2016-04-27 21:05:11 374

原创 sduT 2605-A^X mod P(大幂分解求和)

A^X mod P Time Limit: 5000ms   Memory limit: 65536K  有疑问?点这里^_^ 题目描述 It's easy for ACMer to calculate A^X mod P. Now given seven integers n, A, K, a, b, m, P, and a function f(x) which defi

2016-04-26 19:13:09 539 1

原创 FZOJ 2216 The Longest Straight (尺取法)

The Longest Straight Time Limit:1000MS    Memory Limit:32768KB    64bit IO Format:%I64d & %I64u Description ZB is playing a card game where the goal is to make straights. Each card in

2016-04-19 17:24:20 477

转载 fzuoj 2218 Simple String Problem(状态压缩dp)

Problem 2218 Simple String Problem Accept: 10    Submit: 40 Time Limit: 2000 mSec    Memory Limit : 32768 KB  Problem Description Recently, you have found your interest in string theory. Her

2016-04-19 13:12:06 294

原创 poj 1151(线段树+扫描线)

Atlantis Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 20311   Accepted: 7666 Description There are several ancient Greek texts that contain descriptions of

2016-04-10 21:59:21 362

转载 线段树求矩形面积并 扫描线+离散化

线段树求矩形面积并 扫描线+离散化 顾名思义,扫描法就是用一根想象中的线扫过所有矩形,在写代码的过程中,这根线很重要。方向的话,可以左右扫,也可以上下扫。方法是一样的,这里我用的是由下向上的扫描法。   如上图所示,坐标系内有两个矩形。位置分别由左下角和右上角顶点的坐标来给出。上下扫描法是对x轴建立线段树,矩形与y平行的两条边是没有用的,在这里直接去掉。如下图。   现想象有一条

2016-04-09 10:38:44 387

原创 XTU1238:Segment Tree(线段树区间更新)

Segment Tree       Accepted : 98   Submit : 545 Time Limit : 9000 MS   Memory Limit : 65536 KB Segment Tree Problem Description: A contest is not integrity without pr

2016-04-08 10:17:10 457

原创 hdu 3572(最大流)

Task Schedule Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 6590    Accepted Submission(s): 2058 Problem Description Our geometry pri

2016-04-03 11:01:10 323

原创 素数操作

Cube Number Time Limit: 2000ms   Memory limit: 65536K  有疑问?点这里^_^ 题目描述 In mathematics, a cube number is an integer that is the cube of an integer. In other words, it is the product of some

2016-04-02 16:54:15 298

c++ 字符串表达式求值

这是一个运行于vs2015的项目,代码也就200+行,实现的功能有基础的四则运算以及math里面cos,sin,pow函数的,有这几个函数为样本添加其他函数也很简单,代码实现简单,中缀转后缀,只用了一个栈,附加提醒,若是使用函数,一定要加括号,如pow(1+2,sin(3+4))这样的可行。

2019-01-17

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除