上一页 1 2 3 4 5 6 7 8 9 ··· 14 下一页
摘要: K 小学加减乘除法,取最大值 I 利用后缀数组的思想(前缀也可以) #include<bits/stdc++.h> using namespace std; int n; string s; int t; string x="uwawauwa"; void solve(){ cin>>n; cin> 阅读全文
posted @ 2025-02-09 12:07 归游 阅读(20) 评论(0) 推荐(0)
摘要: Part 3: Quantum Mechanics 3.1 Mathematical Postulates of Quantum Mechanics Quantum States: Quantum states are described by unit vectors in a complex H 阅读全文
posted @ 2025-02-09 10:17 归游 阅读(55) 评论(0) 推荐(0)
摘要: NOTE This is a summary of the book "Mathematics of Quantum Mechanics". Part 1: Complex Numbers 1.1 What is a Complex Number? Imaginary Unit: Defined a 阅读全文
posted @ 2025-02-07 23:31 归游 阅读(66) 评论(0) 推荐(1)
摘要: 第1章:向量介绍 1.1 向量与线性组合 向量加法:\(\mathbf{u} + \mathbf{v} =\begin{bmatrix} u_1 + v_1 \\ u_2 + v_2 \\ \vdots \\ u_n + v_n \end{bmatrix}\) 标量乘法:\(c\mathbf{v} 阅读全文
posted @ 2025-02-05 10:30 归游 阅读(103) 评论(0) 推荐(0)
摘要: Preface Quantum Computer is such a computing device that can efficiently simulate any other physical system In this part,we'll discuss what a quantum 阅读全文
posted @ 2025-02-04 10:14 归游 阅读(43) 评论(0) 推荐(0)
摘要: A 将数据存入数组,根据下标取最小值 B 根据题意,相邻的两个都是朋友,给出朋友关系,构造满足所有关系的排列 假如此时 2 3 1 4 5 满足朋友关系,那么5之后的第一个数字一定是4的朋友,以此递推,就可以得到排列 所以现在的问题在于,如何得到这个最初始的排列? 由于数据较小,我们以1为其他4个数 阅读全文
posted @ 2025-02-02 21:24 归游 阅读(30) 评论(0) 推荐(0)
摘要: 问题描述 给定一个正整数 \(n\),求当 \(k\) 从 \(1\) 到 \(n\) 时,\(\left\lfloor \frac{n}{k} \right\rfloor\) 的不同取值个数。 分析 理解 \(\left\lfloor \frac{n}{k} \right\rfloor\) 的含义 阅读全文
posted @ 2025-01-31 22:27 归游 阅读(39) 评论(0) 推荐(0)
摘要: M 检验字符的字符是否能构成nowcoder 两种方法 检验各个字母出现的次数是否与nowcoder相等 按照字典序排序后是否与cdenoorw相同 #include <bits/stdc++.h> using namespace std; string s; int main() { cin>>s 阅读全文
posted @ 2025-01-31 17:47 归游 阅读(37) 评论(0) 推荐(0)
摘要: Preface Quantum Logic Gates and Computational Foundations Role of Quantum Logic Gates Quantum logic gates manipulate quantum information (qubit states 阅读全文
posted @ 2025-01-29 23:30 归游 阅读(55) 评论(0) 推荐(0)
摘要: A 没有4和7就可以 B 给一个数组,长度为n,找一个数比数组中一半的数都小的最大的数 无论n为奇数还是偶数\(ans=a[n/2+1]-1\)(整除的特性) D 牛可乐定义字符串 𝑠的可爱度 𝑘为这样的一个最大整数,使得存在长度为 𝑘的连续子串,a、长度为 k 的不连续子序列 b满足 ,a= 阅读全文
posted @ 2025-01-24 21:32 归游 阅读(44) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 14 下一页