A.Binary Tree Traversals(二叉树) 题意: 给出一颗二叉树的先序和中序,求后序 题解: 递归建树,细节不表。 #include<cstdio> #include<algorithm> #include<cstring> using namespace std; const i ...
分类:
其他好文 时间:
2020-04-16 20:57:57
阅读次数:
66
一、加减乘除 BigDecimal bignum1 = new BigDecimal("10"); BigDecimal bignum2 = new BigDecimal("5"); BigDecimal bignum3 = null; //加法 bignum3 = bignum1.add(bign ...
分类:
其他好文 时间:
2020-04-16 19:19:26
阅读次数:
55
在阅读使用 pytorch 实现的代码时,笔者会遇到需要对某一维数据进行求和( sum )或 softmax 的操作。在 pytorch 中,上述两个方法均带有一个指定维度的 dim 参数,这里记录下 dim 参数的用法。 torch.sum 在 pytorch 中,提供 torch.sum 的两种 ...
分类:
其他好文 时间:
2020-04-15 21:03:12
阅读次数:
175
环境vs2010 应用=》管理NuGet程序包,安装MVC 4 新建项目 ValuesController.cs using System;using System.Collections.Generic;using System.Linq;using System.Net;using System ...
系统资源限制设置 vi /etc/security/limits.conf * soft nofile 1024000 * hard nofile 1024000 * soft noproc 1024000 * hard noproc 1024000 * soft core 1024000 * ha ...
分类:
其他好文 时间:
2020-04-14 18:56:21
阅读次数:
90
这里主要记录一下工作中遇到的一些常用shell1.jenkins部署远程tomcat#/bin/bashexportTOMCAT_HOME_PATH=/usr/local/soft/tomcat-8.5.53cd$TOMCAT_HOME_PATH#停服;pid=`ps-ef|greptomcat|grep-vgrep|awk‘{print$2}‘``kill-9$pid`#备份war包export
分类:
系统相关 时间:
2020-04-13 23:14:01
阅读次数:
129
1、如何将VBA工程或模块独立于Excel文件保存_百度知道.html(https://zhidao.baidu.com/question/1047229084145489819.html) 选择和激活单元格 _ Microsoft Docs.html(https://docs.microsoft. ...
分类:
编程语言 时间:
2020-04-12 19:00:38
阅读次数:
129
ylbtech-Code-Convert:public static void LoadModel<T>(T model, Hashtable ht) 1.返回顶部 1、 using System; using System.Collections; namespace Sp.Common { pu ...
分类:
其他好文 时间:
2020-04-12 12:19:11
阅读次数:
65
一、tcp/ip协议 (tcp协议和ip协议是众多协议中最重要的,所以用这两者命名) tcp/ip协议包含了互联网基础的网络协议,特点是分层管理: 应用层:http协议(超文本传输)、ftp协议(文件传输)、dns协议(域名系统); 传输层:tcp协议(建立连接、超时重传、发送和接收方确认)、udp ...
分类:
其他好文 时间:
2020-04-12 00:15:26
阅读次数:
107
如果一行代码太长,你又不想换行,又想方便阅读,那么就可以使用 IDEA 的软换行来解决这个问题。IDEA 它提供了两种软换行方式: 只对当前文件进行软换行 在想要进行软换行的文件底部状态条右键,选择“Soft-Wrap”即可对当前文件进行软换行。 对所有文件进行软换行 如果你和我一样,不想每次都进行 ...
分类:
其他好文 时间:
2020-04-10 11:56:40
阅读次数:
305