- 博客(7)
- 收藏
- 关注
原创 windows中pytorch可视化工具visdom加载时间过长的解决办法。
第一步:打开Lib/site-packages/visdom/server 注释掉download_scripts() 在第1917行 第二步:打开Lib/site-packages/tornado/platform/asyncio 添加: import platform if platform...
2020-04-28 14:38:13
377
原创 pat甲级1119-----有一点不理解,望解答。
我是通过建树做的,第一次在后序中找先序的preL+1,第二次在先序中找后序的postR-1,问题来了。。 第一次全部段错误。 #include<stdio.h> int pre[35],post[35]; int n,num=0; bool flag=true; struct node{ int data; node *lchild,*rchild; }; n...
2019-12-16 12:54:22
233
原创 pat甲级1109
#include<stdio.h> #include<string.h> #include<algorithm> using namespace std; const int N=10010; int M[N][N]; struct node{ int height; char name[10]; }Node[N]; bool cmp(no...
2019-12-13 18:46:24
171
原创 pat甲级1111
#include<stdio.h> #include<algorithm> #include<vector> using namespace std; const int N=510; const int INF=100000010; int n,m,st,ed; int G[N][N],cost[N][N]; int d[N],c[N]; bool vis[...
2019-12-13 18:43:02
188
原创 pat甲级1112
#include<stdio.h> #include<string> #include<iostream> using namespace std; bool HASH[100]={false},HASH1[100]={false}; int main(){ int k; string str,str1; cin>>k>...
2019-12-13 18:39:59
210
原创 pat甲级1113
#include<stdio.h> #include<algorithm> using namespace std; const int N=100010; int A[N]; int main(){ int n; scanf("%d",&n); for(int i=0;i<n;i++){ scanf("%d"...
2019-12-13 18:36:15
131
原创 pat甲级1114
#include<stdio.h> #include<algorithm> using namespace std; const int N=10000; int father[N]; int count1[N]={0}; //记录不同家庭人员数目 bool count2[N]={0}; //记录id是否有效 struct node{ int id; ...
2019-12-13 16:06:28
170
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅