TzyProgram
码龄12年
求更新 关注
提问 私信
  • 博客:18,187
    社区:116
    问答:768
    19,071
    总访问量
  • 31
    原创
  • 0
    粉丝
  • 1
    关注
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:美国
加入CSDN时间: 2013-05-09

个人简介:见证技术成长.C

博客简介:

tzy的专栏

查看详细资料
个人成就
  • 获得0次点赞
  • 内容获得0次评论
  • 获得2次收藏
  • 博客总排名2,196,416名
  • 原力等级
    原力等级
    0
    原力分
    0
    本月获得
    0
创作历程
  • 29篇
    2014年
  • 5篇
    2013年
成就勋章
TA的专栏
  • c++
    31篇
  • MFE
    4篇
  • pat
    15篇
  • DFS BFS
    1篇
  • dfs
    5篇
  • dijkstra
    3篇
  • union-find-set
    1篇
  • 动态规划
    2篇
  • 字符串
    3篇
  • leetcode
    6篇
  • 链表
    1篇
  • string
    2篇
  • sort
    1篇

TA关注的专栏 0

TA关注的收藏夹 0

TA关注的社区 0

TA参与的活动 0

创作活动更多

王者杯·14天创作挑战营·第2期

这是一个以写作博客为目的的创作活动,旨在鼓励码龄大于4年的博主们挖掘自己的创作潜能,展现自己的写作才华。如果你是一位热爱写作的、想要展现自己创作才华的小伙伴,那么,快来参加吧!我们一起发掘写作的魅力,书写出属于我们的故事。 注: 1、参赛者可以进入活动群进行交流、分享创作心得,互相鼓励与支持(开卷),答疑及活动群请见https://bbs.csdn.net/topics/619735097 2、文章质量分查询:https://www.csdn.net/qc 我们诚挚邀请你们参加为期14天的创作挑战赛!

56人参与 去参加
  • 最近
  • 文章
  • 专栏
  • 代码仓
  • 资源
  • 收藏
  • 关注/订阅/互动
更多
  • 最近

  • 文章

  • 专栏

  • 代码仓

  • 资源

  • 收藏

  • 关注/订阅/互动

  • 社区

  • 帖子

  • 问答

  • 课程

  • 视频

搜索 取消

C++ Interview Question test-3 question-5

#include class A{public: A(int n = 0) : m_n(n) { } A(const A &a) : m_n(a.m_n) { ++m_copy_ctor_calls; } ~A() { ++m_dtor_calls; }private: int m_n;public: static int m_copy_ct
原创
发布博客 2014.09.24 ·
493 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

C++ Interview Question test-3 question-4

#include class A{public: explicit A(int n = 0) : m_n(n) { }public: A& operator=(const A& a) { this->m_n = a.m_n; ++m_assignment_calls; return *this; }pu
原创
发布博客 2014.09.24 ·
877 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

C++ Interview Question test-3 question-3

#include class A{public: A(int i) : m_i(i) { }public: int operator()(int i = 0) const { return m_i + i; } operator int () const { return m_i; }private: int m_i; friend in
原创
发布博客 2014.09.24 ·
419 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

C++ Interview Question test-3 question-2

#include #include class A{public: A(int n) : m_n(n) { std::cout << m_n; } ~A() { std::cout << m_n; }private: int m_n;};int f(int n){ if (1 == n) { throw std::logic_
原创
发布博客 2014.09.24 ·
544 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

C++ Interview Question test-3 question-1

#include #include #include struct P{ bool operator()(const int &n) const { return n % 3 == 0; }};int main(){ std::list l({ 5, 2, 6, 1, 13, 9, 19 }); std::cout << l
原创
发布博客 2014.09.24 ·
402 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

c++ 使用函数对象时出错

发布问题 2014.07.29 ·
1 回答

Leetcode_Ksum题目总结

Letcode上面有几道关于K sum的问题,zui
原创
发布博客 2014.07.27 ·
429 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

Leetcode_Zig Zag Conversion

string convert(string s, int nRows) { if(nRows == 1)return s; string ans = s; int k = 2*(nRows-1); int index = 0; for(int i = 0; i < nRows; ++i){ int increment = k - 2*i; int currentindex =
原创
发布博客 2014.07.24 ·
453 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Leetcode_String To Integer

Implement atoi to convert a string to an integer.Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input ca
原创
发布博客 2014.07.24 ·
315 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Leetcode_LongestSubstringWithoutRepeatingCharacters

Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. Fo
原创
发布博客 2014.07.23 ·
324 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Leetcode_AddTwoNumbers

You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a link
原创
发布博客 2014.07.23 ·
314 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Leetcode_Longest Palindromic Substring

Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring.
原创
发布博客 2014.07.23 ·
307 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT_1072

1072. Gas Station (30)时间限制200 ms内存限制32000 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA gas station has to be built at such a locati
原创
发布博客 2014.07.17 ·
434 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT_1034

1034. Head of a Gang (30)时间限制100 ms内存限制32000 kB代码长度限制16000 B判题程序Standard作者CHEN, YueOne way that the police finds the head of a
原创
发布博客 2014.07.17 ·
396 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT_1067

1067. Sort with Swap(0,*) (25)时间限制100 ms内存限制32000 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven any permutation of the numbers {
原创
发布博客 2014.07.17 ·
338 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT_1054

1054. The Dominant Color (20)时间限制100 ms内存限制32000 kB代码长度限制16000 B判题程序Standard作者CHEN, YueBehind the scenes in the computer's mem
原创
发布博客 2014.07.17 ·
402 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT_1030

1030. Travel Plan (30)时间限制400 ms内存限制32000 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA traveler's map gives the distances between c
原创
发布博客 2014.07.17 ·
332 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT_1018

1018. Public Bike Management (30)时间限制400 ms内存限制32000 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThere is a public bike service in H
原创
发布博客 2014.07.17 ·
356 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

PAT_1021

1021. Deepest Root (25)时间限制1500 ms内存限制32000 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA graph which is connected and acyclic can b
原创
发布博客 2014.07.17 ·
363 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

1013. Battle Over Cities (25)

It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways from/toward that city are closed. We must know immediately if we nee
原创
发布博客 2014.07.17 ·
331 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多