- 博客(5)
- 资源 (3)
- 收藏
- 关注
原创 解决timed out waiting for input: auto-logout问题
问题描述远程登录服务器后,第二天回来跟服务器的连接总是断开,断开信息为:timed out waiting for input: auto-logout解决方案为了增强linux系统的安全性,需要在用户输入空闲一段时间后自动断开,这个操作是TMOUT值来实现的。查看系统环境变量$TMOUT :$ echo $TMOUT3240032400是9个小时,意味着Linux系统的...
2018-11-29 09:55:31 18381
原创 Leetcode 225. Implement Stack using Queues
文章作者:Tyan博客:noahsnail.com | CSDN | 简书1. Description2. SolutionVersion 1class MyStack {public: /** Initialize your data structure here. */ MyStack() { ...
2018-11-15 18:41:25 198 1
原创 Leetcode 232. Implement Queue using Stacks
文章作者:Tyan博客:noahsnail.com | CSDN | 简书1. Description2. Solutionclass MyQueue {public: /** Initialize your data structure here. */ MyQueue() { } ...
2018-11-14 18:42:35 150
原创 Leetcode 456. 132 Pattern
文章作者:Tyan博客:noahsnail.com | CSDN | 简书1. Description2. SolutionVersion 1class Solution {public: bool find132pattern(vector<int>& nums) { int size ...
2018-11-02 18:27:07 463
原创 Leetcode 682. Baseball Game
文章作者:Tyan博客:noahsnail.com | CSDN | 简书1. Description2. Solutionclass Solution {public: int calPoints(vector<string>& ops) { int score = 0; in...
2018-11-01 18:26:51 264
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人