XML文件操作 实体类 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace XMLDemo { class Student { public string St ...
分类:
其他好文 时间:
2021-04-12 12:30:15
阅读次数:
0
from https://towardsdatascience.com/optimizers-for-training-neural-network-59450d71caf6 Many people may be using optimizers while training the neural ...
分类:
Web程序 时间:
2021-04-12 12:26:22
阅读次数:
0
又是该LL用int了,什么时候才能不犯病啊。 A:水题,让你找出3个以上的数组中不同的那个数 我是直接分情况。 1 #include<iostream> 2 #include<vector> 3 using namespace std; 4 const int N=110; 5 int a[N]; ...
分类:
其他好文 时间:
2021-04-12 12:25:31
阅读次数:
0
LCA — 欧拉序+ST表 \(O(n\log n)\) 预处理,\(O(1)\) 询问?。 \(lca(x,y)=\) 欧拉序中最早出现的 \(x\) 和 \(y\) 中间深度最浅的点。 Luogu P3379 #include <bits/stdc++.h> using namespace st ...
分类:
其他好文 时间:
2021-04-12 12:13:56
阅读次数:
0
很显然的区间dp 当我们卖掉一个物品时,可以看为给延后卖的商品都加价 $ dp [ i ] [ j ] $ 表示卖掉i~j的最大收益 #include<bits/stdc++.h> using namespace std; int n; int v[2021]; int dp[2021][2021] ...
分类:
其他好文 时间:
2021-04-12 12:03:32
阅读次数:
0
以字符串aabaaf为例 next数组可能有几种表达方式 如 0 1 0 1 2 0 -1 0 1 0 1 2 -1 0 -1 0 1 -1 实际上他们的本质上都是一样的 第一种当前后缀不匹配时,j跳到next[j-1]; 第二种j跳到next[j]; #include<iostream> #inc ...
分类:
编程语言 时间:
2021-04-12 11:45:51
阅读次数:
0
#include<iostream> #include<algorithm>//sort头文件 using namespace std; struct student{ int theta;//阈值 int result;//结果 }; bool compare(student a,student ...
分类:
编程语言 时间:
2021-04-12 11:39:49
阅读次数:
0
1045 Access denied for user 'root'@'localhost' (using password:YES) 这个意思是说:用户“root”@本地主机的访问被拒绝 1、首先修改my.ini,在文件中加入skip-grant-tables,重新启动MySQL服务 2、cmd ...
分类:
数据库 时间:
2021-04-12 11:38:52
阅读次数:
0
哈喽大家好,上次我们说了一圈TCP的发送和接受,其实不太准确,上次说的是TCP的客户端的收发。这次我们说一说服务器端的收发。 业务场景是这样 首先服务器开启监听,客户端在开启后去和服务器端连接,给服务器端一个“信号”,然后服务器端吧内容返回给客户端。 接下来,看代码。 using (Socket s ...
最近迁移项目到UnityXR框架,发现UnityXR框架使用了新的输入系统(InputSystem)然后就学习了一下。 using System.Collections; using System.Collections.Generic; using UnityEngine; using Unity ...
分类:
编程语言 时间:
2021-04-10 13:33:21
阅读次数:
0