Preact offers, in addition to the regular component API from React, the ability to access both props & state as function parameters to the render meth ...
分类:
其他好文 时间:
2017-06-17 23:18:51
阅读次数:
252
1.创建运算的接口 public interface Operation { //提供计算两个数字的方法 double getResult(double num1,double num2); } 2.创建对应的加减乘除四个实现类 public class Addition implements Op ...
分类:
其他好文 时间:
2017-06-17 10:06:09
阅读次数:
256
题意:给出n 构成出满足下列条件 长度最小的数列a[0]=1,a[m]=n, a[0]<a[1]<..<a[m]每个下标k都存在(i,j<k) 满足:a[k]=a[i]+a[j] n<=100 枚举长度 dfs爆搜+剪枝 水过, ...
分类:
其他好文 时间:
2017-06-16 21:58:45
阅读次数:
111
标: 在 ubuntu 16.04 上部署一个 asp.net core 站点,打开网站后显示一段文字。 安装 net core 运行环境:ubuntu 16.04 LTS 1.添加 apt 源 依次执行三条命令 sudo sh -c 'echo "deb [arch=amd64] https:// ...
分类:
Web程序 时间:
2017-06-16 19:31:11
阅读次数:
300
leetcode 笔记 Linked List 2. Add Two Numbers You are given two non-empty linked lists representing two non-negative integers. The digits are stored in r ...
分类:
其他好文 时间:
2017-06-12 23:52:18
阅读次数:
276
我们开发过程中 应该使用mvc 的开发模式 之前有讲过 mvc 不不过设计模式,这里不多解说了,之前的能够看看 数据封装使我们的基本功。在开发其中普遍的使用 我们必须重视 这里为了给刚開始学习的人一个学习的平台。对于知识的解说 我会以一种循序渐进的方式-希望对大家有所帮助 仅仅有分享才会进步 // ...
分类:
其他好文 时间:
2017-06-06 18:31:16
阅读次数:
131
2017年5月24日 星期三 --出埃及记 Exodus 26:12As for the additional length of the tent curtains, the half curtain that is left over is to hang down at the rear of ...
分类:
其他好文 时间:
2017-06-05 18:57:40
阅读次数:
149
原文地址:http://colah.github.io/posts/2014-07-Conv-Nets-Modular/ Conv Nets: A Modular Perspective Posted on July 8, 2014 neural networks, deep learning, c ...
分类:
Web程序 时间:
2017-05-31 00:29:55
阅读次数:
278
https://leetcode.com/problems/range-addition-ii 思路1: brute force - O(m * n * k), k = number of ops思路2: 从 ops 中找到被操作次数最多的 row 和 column,这可以通过遍历 ops 数组,分 ...
分类:
其他好文 时间:
2017-05-29 10:01:14
阅读次数:
158
Problem statement: Given an m * n matrix M initialized with all 0's and several update operations. Operations are represented by a 2D array, and each ...
分类:
其他好文 时间:
2017-05-29 09:59:23
阅读次数:
154