1 2 3 4 5 ··· 23 下一页
摘要: 新建文本文档,复制下面这段代码,重命名为Hyper-V.cmd,管理员运行,最后输入Y重启电脑即可。 pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt for /f %%i in ('fin 阅读全文
posted @ 2023-02-17 13:49 XA科研 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 101. 对称二叉树 bool isQ(TreeNode* root1,TreeNode* root2){ if(root1==nullptr&&root2==nullptr){ return true; } else if(root1==nullptr||root2==nullptr){ retu 阅读全文
posted @ 2023-01-08 22:20 XA科研 阅读(24) 评论(0) 推荐(0) 编辑
摘要: VUE(kgsecond) 启动项目管理器: H: vue ui 选择kgsecode 先build->server(保险起见) 项目创建: 选择npm init.project 选择配置项,去掉mapper,加上router 选择2.x版本 neo4j MyGraph 先start,再open s 阅读全文
posted @ 2023-01-01 22:00 XA科研 阅读(13) 评论(0) 推荐(0) 编辑
摘要: CQL: create:创建节点,关系和属性 match:检索有关节点,关系和属性数据 return: 返回查询结果 where:提供条件过滤检索数据 delete: 删除节点和关系的属性 order by :排序检索数据 set :添加或更新标签 peoperties 属性 节点:() 关系:[ 阅读全文
posted @ 2022-05-26 23:50 XA科研 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 给定一个长度为 nn 的整数数列,请你计算数列中的逆序对的数量。 逆序对的定义如下:对于数列的第 ii 个和第 jj 个元素,如果满足 i<ji<j 且 a[i]>a[j]a[i]>a[j],则其为一个逆序对;否则不是。 输入格式 第一行包含整数 nn,表示数列的长度。 第二行包含 nn 个整数,表 阅读全文
posted @ 2022-05-26 23:21 XA科研 阅读(26) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; const int maxn=1010; int getP(int num[],int left,int right){ int temp=num[left]; while(left<right){ while 阅读全文
posted @ 2022-03-05 18:12 XA科研 阅读(63) 评论(0) 推荐(0) 编辑
摘要: # coding:utf-8 ########将csv数据导入neo4j#### import csv import py2neo from py2neo import Graph,Node,Relationship,NodeMatcher g=Graph('http://localhost:747 阅读全文
posted @ 2022-02-28 23:42 XA科研 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 文件的打开: file = open("data.txt", "r", encoding="UTF-8") 其中第一个标签为文件的位置和名称,如果放在项目一级目录下,则不需要指定路径: 文本数据清洗: import csv import py2neo from py2neo import Graph 阅读全文
posted @ 2022-02-28 22:40 XA科研 阅读(53) 评论(0) 推荐(0) 编辑
摘要: In graph theory, an Eulerian path is a path in a graph which visits every edge exactly once. Similarly, an Eulerian circuit is an Eulerian path which 阅读全文
posted @ 2022-02-19 23:55 XA科研 阅读(33) 评论(0) 推荐(0) 编辑
摘要: In computer science, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the 阅读全文
posted @ 2022-02-17 18:35 XA科研 阅读(29) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 23 下一页