自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 资源 (1)
  • 收藏
  • 关注

原创 算法设计与分析(十三)

Count of Range Sum题目Given an integer array nums, return the number of range sums that lie in [lower, upper] inclusive.Range sum S(i, j) is defined as the sum of the elements in nums between indices...

2018-11-27 21:45:08 458

原创 Android Stdio8.0往模拟器文件系统加文件时Permission denied

Android Stdio8.0访问AVD文件系统点击右下角右键upload发现权限不够打开ADK路径找到adb给权限在window系统下通过长按拖动adb.exe执行命令,否则发现找不到adb命令。如adb.exe root...

2018-11-25 00:28:21 1214 1

原创 算法设计与分析(十二)--动态规划

Target Sum题目You are given a list of non-negative integers, a1, a2, …, an, and a target, S. Now you have 2 symbols + and -. For each integer, you should choose one from + and - as its new symbol.Fin...

2018-11-25 00:16:28 305

原创 算法设计与分析(十一)--动态规划

1. Unique Binary Search Trees2. Unique Binary Search Trees IIUnique Binary Search Trees题目Given n, how many structurally unique BST’s (binary search trees) that store values 1 … n?分析这题是典型的卡特兰数的例...

2018-11-16 19:22:14 241

原创 算法设计与分析--动态规划(十)

Scramble String题目Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representation of s1 = “great”:great/ ...

2018-11-08 13:24:14 551

原创 智能合约调用篇--通过地址实例化智能合约调用

通过地址实例化智能合约调用很多时候,我们都是在刚部署好智能合约的时候就对智能合约开始调用,此时的实例可以使用部署时候的实例,但很多时候,我们需要通过地址来调用智能合约,下面我们简单说说怎么使用合约的地址对合约进行调用。首先知道合约的地址,将合约的地址赋值给addressaddress = "合约的地址"然后在本地取得合约代码的abi编码其中Token.tol用solidity语言...

2018-11-05 13:08:39 5246 1

原创 Edit Distance(动态规划)

Edit Distance题目Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2.You have the following 3 operations permitted on a word:Insert a character...

2018-11-04 15:15:43 1603 1

原创 Unique Paths II(动态规划)

Unique Paths II题目A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below).The robot can only move either down or right at any point in time. The robot is tryi...

2018-11-04 14:28:08 312

原创 Longest Valid Parentheses(动态规划)

Longest Valid Parentheses题目Given a string containing just the characters ‘(’ and ‘)’, find the length of the longest valid (well-formed) parentheses substring.Example 1:Input: “(()”Output: 2Expl...

2018-11-04 13:33:37 485

转载 智能合约的部署,调用以及节点的加入

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/wxb880114/article/details/80742672 确保本地以安装好go-ethernum环境未安装参考:以太坊私有链入门最新教程(6.6更新)&nb...

2018-11-04 10:03:04 3282

原创 geth常用命令

geth常用命令初始化私链geth --datadir /path/to/datadir init /path/to/genesis.json启动私链geth --identity "TestNode" --rpc --rpcport "8545" --datadir /path/to/datadir --port "30303" --nodiscover consol创建账户可...

2018-11-03 14:09:11 979

原创 geth的安装(Linux)

基于Linux系统geth的安装安装ethereumsudo apt-get install software-properties-commonsudo add-apt-repository -y ppa:ethereum/ethereumsudo apt-get updatesudo apt-get install ethereum然后用geth --help检查是否安装成...

2018-11-02 17:14:25 3515

一个多项式计算器的实现

多项式计算器

2017-06-01

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除