相关分类: Java技术 C/C++ VB delphi
  • poj 2406 Power Strings 周期问题

    Power Strings Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 48139 Accepted: 20040 Description Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we think of...

    2018-06-17 22:40:14

  • POJ 3311---Hie with the Pie(状压DP)

    题目链接 Description The Pizazz Pizzeria prides itself in delivering pizzas to its customers as fast as possible. Unfortunately, due to cutbacks, they can afford to hire only one driver to do the deliveries. He will wait for 1 or more (up to 10) ord...

    2018-06-17 22:40:14

  • Problem A: 数量的类模板 求助注释处引用为什么不能用

    Problem A: 数量的类模板 Time Limit:1 Sec Memory Limit:128 MB Submit:1140 Solved:788 [Submit][Status][Web Board] Description 定义一个类模板Data,用于包装C++中的基本数据类型int和double。它包括: 1. 数据成员value为该对象所包装的值。 2. 无参构造函数(初...

    2018-06-17 22:40:15

  • ObjectARX自定义实体的最近点和垂点捕捉算法

    最近点用pickPoint来计算,垂点用lastPoint计算. 一般AcDbCurve类可以用AcGe类的 getClosestPointTo 来实现计算需要的点值. 下面是代码示例: case AcDb :: kOsModeNear : { AcGeLine3d line3d ( m_ptA , m_ptC ); AcGePointOnCurve3d tmpPt ; line3d . getClosestPointT...

    2018-06-17 22:40:07

  • T4310 祖玛游戏

    题目描述 祖玛是一款曾经风靡全球的游戏,其玩法是:在一条轨道上初始排列着若干 个彩色珠子,其中任意三个相邻的珠子不会完全同色。此后,你可以发射珠子到 轨道上并加入原有序列中。一旦有三个或更多同色的珠子变成相邻,它们就会立 即消失。这类消除现象可能会连锁...

    2018-06-17 22:40:03

  • P1003 铺地毯

    题目描述 为了准备一个独特的颁奖典礼,组织者在会场的一片矩形区域(可看做是平面直角坐标系的第一象限)铺上一些矩形地毯。一共有 n 张地毯,编号从 1 到n 。现在将这些地毯按照编号从小到大的顺序平行于坐标轴先后铺设,后铺的地毯覆盖在前面已经铺好的地毯之上。...

    2018-06-17 22:39:55

  • Leetcode: 18. 4Sum

    ...

    2018-06-17 22:39:53

  • Leetcode: 28. Implement strStr()

    ...

    2018-06-17 22:39:45

  • 第一讲 基本概念

    ...

    2018-06-17 22:39:53

  • Leetcode: 19. Remove Nth Node From End of List

    ...

    2018-06-17 22:39:49

2