自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Vmorish

—— Anything is possible

  • 博客(4)
  • 收藏
  • 关注

原创 POJ - 1001 Exponentiation(浮点数高精度乘法)

POJ 1001 Description Problems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt is a taxing experience for many computer systems. This problem requires that you

2017-12-29 20:17:08 490

原创 剑指offer——不用加减乘除做加法

题意:写一个函数,求两个整数之和,要求在函数体内不得使用+、-、*、/四则运算符号。 分析:之前自己手动yy了一下,直接用二进制进行位运算,然后没考虑负数,直接WA,接着仔细分析,数分四种情况(a>0,b>0;a>=0,b0;a 参考代码: class Solution { public: int Add(int num1, int num2) { int a

2017-12-28 17:43:45 218

原创 HDU - 3294 Girls' research(manacher)

Problem Description One day, sailormoon girls are so delighted that they intend to research about palindromic strings. Operation contains two steps: First step: girls will write a long string (only contains lower case) on the paper. For example, "abcde", b

2017-12-02 20:32:59 251

原创 HDU - 3068 最长回文(manacher模板题)

点我看题 题意:求给定的一串字符串中最长的回文子串。 分析:manacher(马拉车模板题。 推荐学习博客:https://www.cnblogs.com/grandyang/p/4475985.html 参考代码: #include #include #include #include #include using namespace std; #define INF 0x3f3

2017-12-01 22:24:25 214

空空如也

空空如也

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

TA关注的人

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