主要内容来自《Linux达人养成计划I》 也推荐一下《鸟哥的Linux私房菜》 命令基本格式 命令提示符格式 [role@host directory]sign [角色@主机名 当前所在目录]提示符 role: root为管理员(超级用户),可以自己创建用户,比如我为xwk host: 主机名,随意 ...
分类:
系统相关 时间:
2021-04-07 11:22:21
阅读次数:
0
1、实验内容1 def main(): pass if __name__ == '__main__': main() x1, y1 = 1.2, 3.57 x2, y2 = 2.26, 8.7 print('{:-^40}'.format('输出1')) print('x1 = {}, y1 = { ...
分类:
其他好文 时间:
2021-04-07 11:09:12
阅读次数:
0
A-AC 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K Special Judge, 64bit IO Format: %lld 题目描述 Crystal's fortune predict system is successfully de ...
分类:
其他好文 时间:
2021-04-07 11:07:42
阅读次数:
0
We have some permutation A of [0, 1, ..., N - 1], where N is the length of A. The number of (global) inversions is the number of i < j with 0 <= i < j ...
分类:
其他好文 时间:
2021-04-07 11:05:47
阅读次数:
0
Matlab之format 设置命令行窗口输出显示格式 【干货】 ①以小数形式显示:format rat ②以分数形式显示:format short ③以紧凑形式显示:format compact ④以松散形式显示:format loose Matlab之format 设置命令行窗口输出显示格式: ...
分类:
其他好文 时间:
2021-04-07 10:34:51
阅读次数:
0
MySQLdb._exceptions.OperationalError: (2026, 'SSL connection error: unknown error number') 问题发生在我远程连接数据库的时候,我使用的是MySQLdb 但是一直报错 连接我自己的数据库是没有问题的 *原因是 p ...
分类:
数据库 时间:
2021-04-06 14:59:26
阅读次数:
0
本文总结单调栈算法。 原问题 学习一个算法,我们需要清楚的是:这个算法最原始的问题背景是什么样的? 下一个更小元素 给定一个数组 nums,返回每个元素的下一个更小的元素的下标 res,即 res[i] 记录的是 nums[i] 右端第一个比它小的元素的下标(不存在则为 -1 )。 例如 nums ...
分类:
其他好文 时间:
2021-04-06 14:47:38
阅读次数:
0
使用 jsonify 时,返回的 http response 的 Content-Type 是:Content-Type: application/json 使用json.dumps时,Content-Type则是:Content-Type: text/html; charset=utf-8 其他基 ...
分类:
Web程序 时间:
2021-04-06 14:40:10
阅读次数:
0
前提 SQL执行计划仍在Shared Pool中 函数体 DBMS_XPLAN.DISPLAY_CURSOR( sql_id IN VARCHAR2 DEFAULT NULL, child_number IN NUMBER DEFAULT NULL, format IN VARCHAR2 DEFAU ...
分类:
数据库 时间:
2021-04-06 14:33:43
阅读次数:
0
Description Link. 求 \(\sum_{i=1}^{n}\text{fibonacci}_{i}\times i^{k}=\sum_{i=1}^{n}(F_{i-1}+\text{fibonacci}_{i-2})\times i^{k}\),\(1\le n\le10^{17},1 ...
分类:
其他好文 时间:
2021-04-06 14:07:28
阅读次数:
0