题目如下: 思路: f(x,z)=y 已知x,y 求z 1.有解:y是最小的,z可以等于y本身(只需要求一个符合条件的z) 2.无解:y比x中字母的大 代码如下: #include<cstdio> #include<iostream> using namespace std; int main(){ ...
分类:
其他好文 时间:
2020-06-08 12:18:30
阅读次数:
37
GC情况是否正常排查 通过top查看任务的负载.抓到负载高的pid jstat -gcutil pid 时间 打印多少次 (base) [root@rhel076 ~]# jstat -gcutil 3008 2000 100 Warning: Unresolved Symbol: sun.gc.g ...
分类:
其他好文 时间:
2020-06-08 11:06:52
阅读次数:
96
排序、去重与离散化 1. 排序 1.1 快速排序 1. 快速排序 #include <bits/stdc++.h> using namespace std; const int N = 1000010; int q[N]; void quick_sort(int q[], int l, int r) ...
分类:
编程语言 时间:
2020-06-08 11:03:33
阅读次数:
68
高精度与大整数 1. 高精度 1.1 加法(大数+大数) #include <bits/stdc++.h> using namespace std; // 返回C = A + B vector<int> add(vector<int> &A, vector<int> &B) // A和B存储的都是逆 ...
分类:
其他好文 时间:
2020-06-08 10:55:40
阅读次数:
38
把做工程过程中重要的内容段备份一次,如下内容是关于C#封装的Sqlite访问类的内容,希望能对各位有一些用途。 using System;using System.Collections;using System.Collections.Specialized;using System.Data;u ...
分类:
数据库 时间:
2020-06-08 10:52:53
阅读次数:
64
命名查询的前缀定义可以在PartTree类找到, package org.springframework.data.repository.query.parser; public class PartTree implements Streamable<OrPart> { // ... privat ...
分类:
编程语言 时间:
2020-06-08 10:44:27
阅读次数:
64
数据访问DAL和实体类 UserInfo.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ...
Decord Video Reader Example import decord as de from matplotlib import pyplot as plt # using cpu in this example ctx = de.cpu(0) # example video video ...
分类:
Web程序 时间:
2020-06-08 00:53:36
阅读次数:
95
C++ allows both static and dynamic type checking i.e. types are checked by the compiler. As we will be using the existing code therefore we don’t need ...
分类:
编程语言 时间:
2020-06-08 00:51:56
阅读次数:
59
#include<iostream> #include<cstdio> #include<cstring> #include<algorithm> #include<vector> ? using namespace std; ? const int SIZE = 100010; int head[ ...
分类:
编程语言 时间:
2020-06-07 21:26:37
阅读次数:
72