4次FFT 1.21s #include<bits/stdc++.h> using namespace std; #define forg(i,x) for(register int i=fir[x];i;i=nxt[i]) #define uu unsigned #define scanf a14 ...
分类:
其他好文 时间:
2021-06-28 17:47:57
阅读次数:
0
1. 题目 1.1 英文题目 Given an integer array nums and an integer val, remove all occurrences of val in nums in-place. The relative order of the elements may ...
分类:
编程语言 时间:
2021-06-25 17:23:46
阅读次数:
0
BigInteger: 对大整数类进行操作,超过long能存储的范围 BigDecimal:对高精度小数进行操作 BigInteger bg = new BigInteger("0"); 初始化 并赋值为0 BigInteger类只能与BigInteger类 进行操作 常用方法: bg.add( ) ...
分类:
其他好文 时间:
2021-06-25 17:05:29
阅读次数:
0
/** * 自定义样式 * <p>1. 创建excel对应的实体对象 参照{@link DemoData} * <p>2. 创建一个style策略 并注册 * <p>3. 直接写即可 */ @Test public void styleWrite() { String fileName = Test ...
分类:
其他好文 时间:
2021-06-25 16:46:34
阅读次数:
0
#!/usr/bin/pythonimport csv NewSN = "" # find good SN 给出MAC,寻找对应的SNwith open("DIGI_MAC_28_5_2021_40units.csv", newline='') as csvfile: csv_reader = cs ...
分类:
其他好文 时间:
2021-06-24 18:03:24
阅读次数:
0
难度 medium 现在你总共有 n 门课需要选,记为 0 到 n-1。 在选修某些课程之前需要一些先修课程。 例如,想要学习课程 0 ,你需要先完成课程 1 ,我们用一个匹配来表示他们: [0,1] 给定课程总量以及它们的先决条件,返回你为了学完所有课程所安排的学习顺序。 可能会有多个正确的顺序, ...
分类:
其他好文 时间:
2021-06-24 17:49:46
阅读次数:
0
题目链接:https://leetcode-cn.com/problems/longest-substring-with-at-least-k-repeating-characters public class LeetCode395 { public static void main(String ...
分类:
其他好文 时间:
2021-06-23 16:28:48
阅读次数:
0
恢复内容开始 1 new返回的是一个指针; 2 delete: 内置类型:( ①整数 int、short和long ②字符型 char和wchar_t③ 布尔型 bool,整型可用修饰:unsigned,浮点:float、double和long double) 自定义类型 class,struct: ...
分类:
其他好文 时间:
2021-06-23 16:27:48
阅读次数:
0
在Java中,从JDK1.5后开始引入并发编程序相关的内容,为进一步理解和编写更加高效的应用程序,从java.util.concurrent包下开始了解,对应的并发编程的相关的类。 CountDownLatch类的相关的理解和对应的程序demo编写理解。借助的工具是Idea,首先查看到对应的点就是, ...
分类:
其他好文 时间:
2021-06-22 18:47:48
阅读次数:
0
FastReport 3.X var PageLine: integer; //在現在頁列印到第幾行 PageMaxRow: integer=15; //設定每頁列數 procedure MasterData1OnBeforePrint(Sender: TfrxComponent); begin P ...
分类:
其他好文 时间:
2021-06-22 18:27:26
阅读次数:
0