- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 int型
#include #define MIN_INT -2147483648#define MIN_INT2 -2147483647-1#define MAX_INT 2147483647const int max_Int = 2147483647;const int min_Int = -2147483648;using std::cin;using std::cout;
2014-04-13 14:25:28 482
原创 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 493
原创 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 532
PAT Basic Level 题解
2014-04-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人