题目 The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed fo ...
分类:
其他好文 时间:
2020-04-16 13:20:15
阅读次数:
61
Motivation 动机 In this context, a responsibility is considered to be one reason to change. This principle states that if we have 2 reasons to change fo ...
分类:
其他好文 时间:
2020-04-12 22:18:34
阅读次数:
93
fo dicom 全称:Fellow Oak DICOM 是一个处理 DICOM 协议及图像相关的类库,基于 .Net 平台。 问题 通过 nuget 将 fo dicom 添加到项目,编译后 Dicom.Native.dll 没有自动拷贝到 编译输出目录。 Dicom.Native.dll 跟接收 ...
分类:
其他好文 时间:
2020-04-12 20:11:12
阅读次数:
97
题目1:有四个数字:1,2,3,4能组成多少个互不相同且无重复数字的三位数?各是多少?查询点:len(length:长度)函数用于统计列表中数量count方法用于列表中某一数据出现的次数 list=[1,2,3,4] list1=[] for i in list: for j in list: fo ...
分类:
其他好文 时间:
2020-04-11 00:09:34
阅读次数:
97
for循环:结构更加紧凑 例:for(var a = 1; a <= 10;a++){console.log(a)} for循环1,2,4步是可选的 下面的情况也是可以的。但是一般不这么写,不规范 // for (var n = 0; ; n++) { // } // var n = 0 // fo ...
分类:
其他好文 时间:
2020-04-05 22:21:43
阅读次数:
90
ax.legend()作用:在图上标明一个图例,用于说明每条曲线的文字显示 import matplotlib.pyplot as plt import numpy as np x = np.arange(10) fig = plt.figure() ax = plt.subplot(111) fo ...
分类:
编程语言 时间:
2020-04-05 22:17:33
阅读次数:
545
os:Ubuntu18.10 1.使用apt-get安装MySQL,默认安装5.7 sudo apt-get install mysql-server 2.使用默认账号登录MySQL sudo vi /etc/mysql/debian.cnf # Automatically generated fo ...
分类:
数据库 时间:
2020-04-05 20:12:02
阅读次数:
111
Linux命令 目录结构 /etc :用来存放所有的系统管理所需要的配置文件和子目录 /home :用户的主目录,在Linux中,每个用户都有一个自己的目录,一般改目录名是以用户账号命名的 /lib :存放着最基本的动态连接共享库,起作用类似于Windows里的DLL文件(不要动) /lost+fo ...
分类:
系统相关 时间:
2020-04-03 12:02:00
阅读次数:
109
public class Demo01 { static int getMax(int arrs[]) { if(arrs.length==0) { throw new RuntimeException("数组长度为0"); }else { int temp=arrs[0]; int i=1; fo ...
分类:
编程语言 时间:
2020-04-02 22:17:03
阅读次数:
73
指令是以数据去驱动DOM行为,简化DOM操作。常用指令如下 v-text innertext,不能解析文本中的html标签 v-html innerhtml,可解析文本中的html标签 v-show 控制元素的显示、隐藏 v-if、v-else-if、v-else 满足条件才显示对应的元素 v-fo ...
分类:
其他好文 时间:
2020-04-01 00:44:05
阅读次数:
75