摘要: 我在discussion区的更新:C++-solutioneasy-to-understand 160. Intersection of Two Linked Lists Write a program to find the node at which the intersection of tw 阅读全文
posted @ 2018-08-14 21:22 hozhangel 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Author: hozhangel Time: 2018-08-11 20:31:01 206. Reverse Linked List problem description: Reverse a singly linked list. Example: Input: 1->2->3->4->5- 阅读全文
posted @ 2018-08-11 20:19 hozhangel 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 《BITCOIN AND CRYPTOCURRENCY TECHNOLOGIES》Chapter 1系列 1.3. DIGITAL SIGNATURES数字签名 一、数字签名性质 我们希望数字签名需要有两个性质: 1、只有你自己可以签名,别人看到签名可以验证它是否有效。 2、希望你的签名和你签名的文 阅读全文
posted @ 2022-09-19 21:16 hozhangel 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 《BITCOIN AND CRYPTOCURRENCY TECHNOLOGIES》Chapter 1系列 1.2. HASH POINTERS AND DATA STRUCTURES哈希指针及数据结构 一、Hash pointer 哈希指针 书中原话:A hash pointer is a poin 阅读全文
posted @ 2022-09-15 19:17 hozhangel 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 《BITCOIN AND CRYPTOCURRENCY TECHNOLOGIES》1.1. Cryptographic Hash Function.加密哈希函数。主要介绍三个性质。 阅读全文
posted @ 2022-09-04 21:35 hozhangel 阅读(160) 评论(0) 推荐(0) 编辑
摘要: Git 创建仓库 初始化一个git仓库,在执行完成 git init 命令后,Git 仓库会在当前目录生成一个 .git 目录。 git init 如果使用指定目录作为git仓库 git init newrepo 初始化后,会在 newrepo 目录下会出现一个名为 .git 的目录 git add 阅读全文
posted @ 2020-08-12 15:58 hozhangel 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 关机之后,驱动不能用 解决: step1:sudo apt-get install dkms step2: sudo dkms install -m nvidia -v 390.59 其中step2 中的410.79是NVIDIA的版本号,当你不知道的时候,进入/usr/src目录中,可以看到里面有 阅读全文
posted @ 2020-04-26 11:49 hozhangel 阅读(951) 评论(0) 推荐(0) 编辑
摘要: void QuickSort(int array[], int start, int last) { int i = start; int j = last; int temp = array[i]; if (i < j) { while (i < j) // { // while (i < j & 阅读全文
posted @ 2020-03-30 10:09 hozhangel 阅读(131) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <vector> using namespace std; void merge(vector<int> &arr,int L,int mid,int R) { int *help = new int(R-L+1); int p1=L,p2= 阅读全文
posted @ 2020-03-30 09:54 hozhangel 阅读(138) 评论(0) 推荐(0) 编辑
摘要: tensorflow.python.framework.errors_impl.InvalidArgumentError: Feature: input_ids0 (data type: int64) is required but could not be found. [[{{node Pars 阅读全文
posted @ 2019-12-05 19:29 hozhangel 阅读(1810) 评论(0) 推荐(0) 编辑
摘要: 安装curl: sudo apt-get update sudo apt install curl 安装nvidia-docker: 可能要删除之前的 sudo yum remove docker docker-common container-selinux docker-selinux dock 阅读全文
posted @ 2019-11-20 20:02 hozhangel 阅读(2049) 评论(0) 推荐(0) 编辑
摘要: docker中运行tensorflow出错: Traceback (most recent call last): File "run_classifier.py", line 24, in <module> import modeling File "/home/work/adapter-bert 阅读全文
posted @ 2019-11-20 19:22 hozhangel 阅读(6017) 评论(0) 推荐(0) 编辑