题目—01字符串 (shiyancang.cn) 1 #include<bits/stdc++.h> 2 using namespace std; 3 4 int main() 5 { 6 string a="0"; 7 int n; 8 cin>>n; 9 string ans=""; 10 if ...
分类:
其他好文 时间:
2021-06-06 19:01:00
阅读次数:
0
题目—吉祥物 (shiyancang.cn) 1 #include<bits/stdc++.h> 2 using namespace std; 3 int n,x; 4 int pos(int n) 5 { 6 int s=1,j=1; 7 while(s<n) 8 { 9 s+=j++; 10 } ...
分类:
其他好文 时间:
2021-06-06 18:58:39
阅读次数:
0
傅里叶变换的公式,大家脑部,本实例是先将一副图像做傅里叶变换,再对傅里叶阵列做逆变换,代码如下: #include <iostream> #include<opencv2/opencv.hpp> using namespace cv; using namespace std; void dftshi ...
分类:
其他好文 时间:
2021-06-05 18:25:20
阅读次数:
0
一、题目: 二、思路: 这道题思路非常妙:smile:,我们先理清思路,然后再来说这种思路为什么妙。 先考虑如果 \(a\) 中没有 \(-1\) 的情况。 第一步,找到一个质数 \(P\),满足 \(P\equiv 1\pmod K\)。即 \(K|(P-1)\)。 第二步,找到模 \(P\) 的 ...
分类:
其他好文 时间:
2021-06-05 18:05:31
阅读次数:
0
namespace TestQuestionaire { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void bt_ok_Click(object sender, Eve ...
1、主机防护软件的安装路径 命令:wmic /namespace:\\root\securitycenter2 path antivirusproduct get displayname,productstate,pathtosignedproductexe 2、将wmic命令和findstr命令 ...
分类:
其他好文 时间:
2021-06-04 19:16:45
阅读次数:
0
K次圆覆盖问题 模板 #include<bits/stdc++.h> using namespace std; const int maxn=1009; const double eps=1e-8; const double pi=acos(-1); int dcmp(double x) {retu ...
分类:
其他好文 时间:
2021-06-04 19:11:31
阅读次数:
0
import os with open('a.txt','wb') as fp; file = open('a.txt','w',encoding = 'utf-8') # w是覆盖并且重新写入 file.write('Python') # 文件的杜西呃怎么打印出来是个中文字符 # print(fi ...
分类:
其他好文 时间:
2021-06-04 18:48:35
阅读次数:
0
利用几何关系转化以后,变成经典的区间覆盖问题 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 10010; const double eps = 1e-11; int n, L, ...
分类:
其他好文 时间:
2021-06-03 17:39:32
阅读次数:
0
Schema ①扩展名 .xsd 本身是一份xml文档 ②对名称空间(namespace)支持的很好 ③ 支持的类型比dtd跟丰富约束的更细致 可以支持自定义的类型 ④ schema正在逐步替换dtd 在android中清单文件和布局文件 用到了schema约束技术 ①xml的约束技术 作用 规范x ...
分类:
其他好文 时间:
2021-06-02 19:49:55
阅读次数:
0