自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 int型

#include #define MIN_INT -2147483648 #define MIN_INT2 -2147483647-1 #define MAX_INT 2147483647 const int max_Int = 2147483647; const int min_Int = -2147483648; using std::cin; using std::cout;

2014-04-13 14:25:28 448

转载 素数

寻找1-n之间的所有素数

2014-04-12 18:33:34 436

原创 Evaluate Reverse Polish Notation

class Solution { public: int evalRPN(vector &tokens) { stack intstack; for(int i = 0; i < tokens.size(); i++) { istringstream iss(tokens[i]); int num;

2014-04-10 00:56:53 465

原创 Reverse Words in a String

#include #include #include using std::string; using std::vector; using std::istringstream; class Solution { public: void reverseWords(string &str) { vector vstring; istri

2014-04-08 11:48:28 498

PAT Basic Level 题解

PAT Basic Level 的代码 写的不是很好 仅仅是Accepted了 10017 还未通过 不知为何 10015 和 10025 是算法不够优导致时间溢出

2014-04-10

空空如也

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

TA关注的人

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