编程语言-周排行[总排行] [月排行] [周排行] [日排行]
s = set('hello,word') print(s) #set 方法 s = {'xiaoming', 'xiaoming', 'xiaoming1'} print(s) s.add('s') # 添加元素 s.clear(s) # 清空集合 s1 = s.copy(s) # 复制集合 s. ...
分类:编程语言 时间:2021-04-05 12:51:32 阅读:0
归并排序模板 code: #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> using namespace std; const int N = 1e5 + 10; typedef long long ...
分类:编程语言 时间:2021-04-05 12:52:30 阅读:0
string s; while(getline(cin,s)){ cout<<s<<endl; } ...
分类:编程语言 时间:2021-04-06 14:01:34 阅读:0
项目地址: github.com/brython-dev/brython 当前版本 3.9.1 ,支持cpython3.9.0 cdn加速: https://www.bootcdn.cn/brython/ django中使用cpython : django-brython 最新版本发布于2020年1 ...
分类:编程语言 时间:2021-04-06 14:04:12 阅读:0
监控进程 NTSTATUS PsSetCreateProcessNotifyRoutineEx( PCREATE_PROCESS_NOTIFY_ROUTINE_EX NotifyRoutine, BOOLEAN Remove ); 通过PsSetCreateProcessNotifyRoutineE ...
分类:编程语言 时间:2021-04-06 14:04:34 阅读:0
11.3 使用Spring实现AOP 方式三:使用注解实现! <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www ...
分类:编程语言 时间:2021-04-06 14:07:51 阅读:0
循环结构 while 循环 while是最基本得循环,它的结构为: while(布尔表达式){ //循环内容 } 只要布尔表达式为true,循环就会一直执行下去 public class WhileDemo01 { public static void main(String[] args) { / ...
分类:编程语言 时间:2021-04-06 14:10:11 阅读:0
一、WEB应用程序B/S ( browser/server ,浏览器/服务器)架构 基于HTTP传输协议(超文本传输协议,回忆HTML的名字:超文本标记语言) WEB程序必须要运行在web容器上,如Tomcat /Jboss/WebLogic等 二、HTTP协议HTTP使用TCP作为它的支撑运输层协 ...
分类:编程语言 时间:2021-04-06 14:12:31 阅读:0
SpringBoot发送邮件 1、pom <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.3.4.RELEASE</ ...
分类:编程语言 时间:2021-04-06 14:13:11 阅读:0
1.数组的遍历 通常用双for循环或者foreach循环来遍历二维数组,例如: char arr[][]=new char[4][]; arr[0]=new char[] {'春','江','潮','水','连','海','平'}; arr[1]=new char[] {'海','上','明','月 ...
分类:编程语言 时间:2021-04-06 14:14:36 阅读:0
前言 有时需要加密保存数据,但是我不会用AES……所以选择了更简单的异或加密。 解决方案 public static String xor(String data, String password) { //异或加密 byte b1[] = data.getBytes(); byte b2[] = ...
分类:编程语言 时间:2021-04-06 14:14:59 阅读:0
#多态 在编程语言和类型论中,多态(英语:polymorphism)指为不同数据类型的实体提供统一的接口。 多态类型(英语:polymorphic type)可以将自身所支持的操作套用到其它类型的值上。(百度百科) 换一种说法:基类指针可以按照基类的方式来做事,也可以按照派生类的方式来做事,它有多种 ...
分类:编程语言 时间:2021-04-06 14:16:28 阅读:0
1. 背景知识、需求描述与公共依赖 1.1. 背景知识 & 需求描述 Spring Cloud 官方文档说了,它是一个完整的微服务体系,用户可以通过使用 Spring Cloud 快速搭建一个自己的微服务系统。那么 Spring Cloud 究竟是如何使用的呢?他到底有哪些组件? spring-cl ...
分类:编程语言 时间:2021-04-06 14:19:20 阅读:0
1. 下载源码包 2. 上传服务器并解压到指定位置 3. 安装依赖库 ~]# yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel libffi-deve ...
分类:编程语言 时间:2021-04-06 14:20:30 阅读:0
给你一个数组 nums ,数组中只包含非负整数。定义 rev(x) 的值为将整数 x 各个数字位反转得到的结果。比方说 rev(123) = 321 , rev(120) = 21 。我们称满足下面条件的下标对 (i, j) 是 好的 : 0 <= i < j < nums.length nums[ ...
分类:编程语言 时间:2021-04-06 14:22:24 阅读:0
一、添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> <version>2.4.4</version> </depen ...
分类:编程语言 时间:2021-04-06 14:26:35 阅读:0
问题:请讲下java的类加载机制及过程 分析:该问题主要考察对JVM加载类的机制及过程,延申出的问题是为什么使用双亲委托模型,有什么办法可以打破双亲委托吗; 回答要点: 主要从以下几点去考虑, 1、类加载的过程? 2、类加载的机制? 3、如何打破双亲委托模型? 在运行java程序时,一个类必须要加载 ...
分类:编程语言 时间:2021-04-06 14:30:14 阅读:0
第一个:字节码文件时带有ENHANCERBYCGLIB,FastClassByCGLIB组成的文件名 第二个:字节码文件时带有ENHANCERBYCGLIB 第三个:字节码文件时带有FastClassByCGLIB组成的文件名 (这个文件的作用就是某个类的代理它需要使用的时候能快速把已经生成好的实例 ...
分类:编程语言 时间:2021-04-06 14:30:46 阅读:0
Python编码解码技巧汇总 encode encode将字符串转换为bytes类型的对象 (即b为前缀, bytes类型), 即Ascll编码, 字节数组 a = "检测到网站攻击" print(a.encode()) print(type(a.encode())) # b'\xe6\xa3\x8 ...
分类:编程语言 时间:2021-04-06 14:32:28 阅读:0
markdown学习 一、标题 格式:“#+空格” 为一级标题 “##+空格”为二级标题 以此类推直到六级标题 二、字体 1、粗体 hello word 格式:两个*放在想要加粗的字体两边 2.斜体 hello Word 格式:一个*放在想要倾斜的字体两边 3.删除线 Holly Word 格式:两 ...
分类:编程语言 时间:2021-04-06 14:34:47 阅读:0
1225262252722528225292253022673
上一页453443下一页
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!