一、数据类型 int :主要用于 + \ 不同进制之间的转换 十进制转化为二进制有效位长度 int str 之间的转换 str upper:转化为大写字母,lower():转化为小写 endswitch(),startswitch():判断以哪个字符串结尾或者开始 repllace:用一个字符取代指 ...
分类:
编程语言 时间:
2020-03-24 22:57:26
阅读次数:
70
1、计划任务提权法: 进入机器后,寻找root,通过查看/etc/crontab,或者/etc/cron.*中的计划任务,看是否存在root权限调用的计划任务,如果这些计划任务的脚本可以被任意用户修改,可以通过在这些计划任务中增加提权脚本进行提权 2、命令截断提权: 假设某程序如下代码,其中syst ...
分类:
其他好文 时间:
2020-03-24 10:44:20
阅读次数:
71
E 题意真的是看瞎眼,题意:要输出每个位置i—th使得求出q1~q(i-1)有效的情况下答案是多少;每次在i-th操作,我们要执行将p1,p2.p3依次放进空集里面,那么轮到q位置,例如q=5,那就是第五个p数字他就要爆炸,使得这个集合最大的元素炸飞,然后执行完q1~q(i-1)后,该集合的最大元素 ...
分类:
其他好文 时间:
2020-03-23 16:37:22
阅读次数:
48
Farmer John knows that an intellectually satisfied cow is a happy cow who will give more milk. He has arranged a brainy activity for cows in which the ...
分类:
其他好文 时间:
2020-03-23 13:47:05
阅读次数:
74
1、计算器 bash [17:23:31 root@Centos8 ~] bc bc 1.07.1 Copyright 1991 1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012 2017 Free Software Foundation, Inc. Th ...
分类:
其他好文 时间:
2020-03-23 00:18:48
阅读次数:
83
1.修改索引 更新索引是先删除再添加,建议对更新需求采用此方法,并且要保证对已存在的索引执行更新,可以先查询出来,确定更新记录存在执行更新操作。 如果更新索引的目标文档对象不存在,则执行添加。 /** * 修改索引库 */ @Test public void testUpdateIndex() th ...
分类:
Web程序 时间:
2020-03-22 20:01:34
阅读次数:
86
被动语态(by+行为者)可省略 动作的行为者不分明,或不重要,或上下文中提到了行为者时,“by+行为者”可以省略。 1. The information is needed. 信息被需要。被谁需要不重要,所以省略行为者。 2. The book is being read. 书正在被读。 3. Th ...
分类:
其他好文 时间:
2020-03-22 14:13:57
阅读次数:
184
Write a program to find the n-th ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. Example: Input: n = 10 Outpu ...
分类:
其他好文 时间:
2020-03-21 19:41:35
阅读次数:
75
一,介绍 定义: In CPython, the global interpreter lock, or GIL, is a mutex that prevents multiple native threads from executing Python bytecodes at once. Th ...
分类:
编程语言 时间:
2020-03-18 23:43:44
阅读次数:
76
前三题随便写,D题是一道dfs的水题,但当时没有找到规律,直接卡到结束 A - Kth Term / Time Limit: 2 sec / Memory Limit: 1024 MB Score : 100100 points Problem Statement Print the KK-th e ...
分类:
其他好文 时间:
2020-03-18 20:19:45
阅读次数:
68