kll-l命令可以查看所有的信号其中有几个最常用的信号值如下tarp的用法(注意,使用的是单引号)例如#!/bin/bashtrap‘echo"good"‘2这里可以使用数字编号,也可使用信号名或简称sleep100当上面这个脚本运行时,如果我们a
分类:
系统相关 时间:
2019-08-24 17:03:10
阅读次数:
78
"codeforces" 简单题,考虑这个串只有0,1两种字符。所以每9个必有一组合法的情况 所以暴力的复杂度是$O(9n)$ 代码: ...
分类:
其他好文 时间:
2019-08-24 14:57:37
阅读次数:
86
-ma full memory dump, always do this on 2003 as 4gb is not much and it is good to have the heap -mp miniplus, 2007 – 2010 grabs the essential linked h ...
分类:
其他好文 时间:
2019-08-24 13:19:40
阅读次数:
99
题目描述 The good folks in Texas are having a heatwave this summer. Their Texas Longhorn cows make for good eating but are not so adept at creating creamy ...
分类:
其他好文 时间:
2019-08-23 22:03:07
阅读次数:
94
Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, given L being 1→2→3→4→5→6, ...
分类:
其他好文 时间:
2019-08-23 10:42:10
阅读次数:
92
import re#split 只能实现单个字符串的分割string="guoshun is a good boy"print(string.split(' '))#但是如果中间又好几个空格 那么split耶只能分割一个空格string2="guoshun is good boy"#regex提供了 ...
分类:
编程语言 时间:
2019-08-22 22:16:26
阅读次数:
136
A group of cows grabbed a truck and ventured on an expedition deep into the jungle. Being rather poor drivers, the cows unfortunately managed to run o ...
分类:
其他好文 时间:
2019-08-22 16:07:12
阅读次数:
97
通过一个完整的实例实现课程信息管理功能的操作,包括查询、修改、删除课程信息的操作。 1) 创建课程信息表 INSERT INTO StuCourse (name,credit,remark) VALUES ('English',3.00,'Good Good Study'); INSERT INTO ...
分类:
Web程序 时间:
2019-08-21 15:14:01
阅读次数:
116
http://www.shuijingwanwq.com/2019/02/18/3171/ ...
分类:
其他好文 时间:
2019-08-21 11:14:55
阅读次数:
61
http://acm.hdu.edu.cn/showproblem.php?pid=6659 题意:给你d,x,让求满足f(d,n)=n的最大n(n<=x),其中f(d,n)表示数字d在从1到n的数中出现的总次数。 思路:网上真的是有一种神仙思路(找规律,推公式),显然如果f(d,x)=x那么答案就 ...
分类:
其他好文 时间:
2019-08-19 13:19:51
阅读次数:
105