#include <iostream> #include <algorithm> #include <cstdio> using namespace std; const int N = 2e5 * 20; int a[N], b[N], root[N]; struct President_Tree ...
分类:
其他好文 时间:
2021-04-27 15:01:57
阅读次数:
0
java遍历文件 package com.vfsd.test; import java.io.File; import java.io.IOException; public class ListFileName { public static void main(String[] args) { ...
分类:
编程语言 时间:
2021-04-27 15:01:42
阅读次数:
0
#include <bits/stdc++.h> typedef unsigned long long ll; const ll P=1331; using namespace std; ll hash1[1000000],u[1000000]; ll get(int l,int r){ retur ...
分类:
其他好文 时间:
2021-04-27 15:00:27
阅读次数:
0
#include <iostream> #include <stack> #include <cstring> #include <unordered_map> using namespace std; typedef long long ll; stack<int>num; stack<char> ...
分类:
其他好文 时间:
2021-04-27 14:59:52
阅读次数:
0
1.基本if语句 Python的写法 If条件: 条件满足 Else: 条件不满足时 案例:话费计算 #计算话费 #(1)输入通话的秒数 n = input("请输入通话秒数:") #(2)将通话的秒数转换成分钟 n = int(n) if n < 0: print("请输入正确的秒数") exit ...
分类:
编程语言 时间:
2021-04-27 14:57:59
阅读次数:
0
一、自定义AutoMapper配置类-using AutoMapper继承Profile public class AutoMapperInit : Profile { public AutoMapperInit() { CreateMap<UpdatePatientRequest, PrehosP ...
分类:
移动开发 时间:
2021-04-27 14:56:21
阅读次数:
0
常见数据类型: 数字 布尔值 字符串 元组 列表 字典 集合 如何判断数据的类型? 用type()函数 如age=18 print(type(age)) 输出结果:<class 'int'> 用len()函数统计数据的长度 数字类型重点介绍:整数int 浮点数float 举例: age=18 hei ...
分类:
其他好文 时间:
2021-04-27 14:53:45
阅读次数:
0
#类和对象 #类:具有相同特征或行为的某一类集合 #语法: #class 类名(): # 类体 #命名:大小驼峰式命名 #创建对象:对象变量=类名(),类的实例化 #类的属性(包括类属性,实例属性) #方法:类里面的函数叫方法;带有self的方法叫实例方法 #没有self的方法: # 静态方法:放在 ...
分类:
其他好文 时间:
2021-04-27 14:51:28
阅读次数:
0
C++(异常) int myDevide(int a, int b) { if (b == 0) { //throw - 1;//抛出int类型异常 throw 3.13; } return a / b; } void test01() { int a = 10; int b = 0; try { ...
分类:
编程语言 时间:
2021-04-27 14:40:23
阅读次数:
0
public class Dome { //数据类型知识拓展 //二级制 八进制 十进制 十六进制 //二级制 值以0b开头 //八进制 值以0开头 //十六进制 值以0x开头 A-F 分别对应10-15 public static void main(String[] args) { int nu ...
分类:
编程语言 时间:
2021-04-27 14:39:10
阅读次数:
0