码迷,mamicode.com
首页 >  
搜索关键字:le ge lt gt eq ne    ( 256714个结果
c++ (文件读写操作)
文件读写操作「c++」 #include <fstream> void test01() { //ofstream ofs("./test.txt",ios::out | ios::trunc); //后期指定打开方式 ofstream ofs; ofs.open("./test.txt",ios: ...
分类:编程语言   时间:2021-04-27 15:05:25    阅读次数:0
Hadoop组件
#Hadoop 分布式计算平台,同时也是一个生态圈 hadoop 1.X HDFS+MapReducer+Common hadoop 2.X HDFS+MAP+Reducer+Common hadoop 3.X java7->java8,引入纠删码,重写shell脚本,支持超过两个NameNode, ...
分类:其他好文   时间:2021-04-27 15:04:12    阅读次数:0
最长的无重复子串
给定一个数组arr,返回arr的最长无的重复子串的长度(无重复指的是所有数字都不相同): function maxLength( arr ) { if(!arr.length) return; var res = []; var max = 0; for(var i =0 ;i<arr.length ...
分类:其他好文   时间:2021-04-27 15:03:02    阅读次数:0
主席树模板
#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
运算符的优先级
优先级 运算符 类 结合性 1 () 括号运算符 由左至右 2 !、+(正号)、-(负号) 一元运算符 由左至右 2 ~ 位逻辑运算符 由右至左 2 ++、-- 递增与递减运算符 由右至左 3 *、/、% 算术运算符 由左至右 4 +、- 算术运算符 由左至右 5 <<、>> 位左移、右移运算符 由 ...
分类:其他好文   时间:2021-04-27 15:01:22    阅读次数:0
hash
#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
python选择结构
1.基本if语句 Python的写法 If条件: 条件满足 Else: 条件不满足时 案例:话费计算 #计算话费 #(1)输入通话的秒数 n = input("请输入通话秒数:") #(2)将通话的秒数转换成分钟 n = int(n) if n < 0: print("请输入正确的秒数") exit ...
分类:编程语言   时间:2021-04-27 14:57:59    阅读次数:0
.NetCore3.1配置AutoMapper-(int转枚举Description)
一、自定义AutoMapper配置类-using AutoMapper继承Profile public class AutoMapperInit : Profile { public AutoMapperInit() { CreateMap<UpdatePatientRequest, PrehosP ...
分类:移动开发   时间:2021-04-27 14:56:21    阅读次数:0
仿京东静态网站制作之猜你喜欢(小竖线制作)
#猜你喜欢模块制作 ##主要知识点:结构伪类选择器和伪元素选择器&常规页面布局 ###HTML结构 <!-- 猜你喜欢模块 --> <div class="like"> <div class="hd"> <div class="left">猜你喜欢</div> <div class="right"> ...
分类:Web程序   时间:2021-04-27 14:55:10    阅读次数:0
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!