//我才不会告诉你我是乱做a了。。。看代码 #include<bits/stdc++.h> using namespace std; int main() { int n,d[500005];//数组开小会TLE啊啊啊,记得啊 int k=0; cin>>n; for(int i=0;i<n;i++ ...
分类:
其他好文 时间:
2020-06-11 19:33:28
阅读次数:
57
CF3A Shortest path of the king Luogu题地址 #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <queue> using namespace ...
分类:
其他好文 时间:
2020-06-11 16:24:45
阅读次数:
50
题目链接 题解 回文自动机双向插入模版题,还需要动态维护回文子串个数,贴个板子 查看代码 #include <bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 1e6+5; const int mod ...
分类:
其他好文 时间:
2020-06-11 13:47:22
阅读次数:
55
自己用到的,记录一下 1、效果图 2、弹层组件代码 a、js代码 1 // components/dialog/index.js 2 Component({ 3 options: { 4 multipleSlots: true 5 }, 6 properties: { 7 //高度 8 height ...
分类:
微信 时间:
2020-06-11 10:29:37
阅读次数:
82
题目描述 给定n个整数(数字可能重复),求在这些数中选取任意个,使得他们的异或和最大。 输入格式 第一行一个数n,表示元素个数 接下来一行n个数 输出格式 仅一行,表示答案。 #include<cstdio> using namespace std; #define ll long long ll ...
分类:
其他好文 时间:
2020-06-10 22:58:03
阅读次数:
67
#include <iostream> using namespace std; void main() { cout<<"hello world"<<endl; } 1 #include <iostream> 2 using namespace std; 3 void main() 4 { 5 c ...
分类:
编程语言 时间:
2020-06-10 21:05:01
阅读次数:
65
ylbtech-Code-Helper:ZipHelper.cs 1.返回顶部 1、 using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.D ...
分类:
其他好文 时间:
2020-06-10 19:15:59
阅读次数:
58
工具类代码:(代码可以自己整理下,这里重点在实现方式) using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Threading; using System. ...
分类:
编程语言 时间:
2020-06-10 18:48:04
阅读次数:
57
*************************** APPLICATION FAILED TO START *************************** Description: Failed to configure a DataSource: 'url' attribute is ...
分类:
编程语言 时间:
2020-06-10 17:30:28
阅读次数:
67
P3378 【模板】堆 #include <iostream> #include <cstring> #include <cstdio> using namespace std; const int N = 1e6; int h[N], s; void up(int u) { while(u / 2 ...
分类:
其他好文 时间:
2020-06-10 17:17:55
阅读次数:
67