3.修改站点管理员密码

分类: 其他 发布时间: 02-23 23:11 阅读次数: 0

4.修改文档编码

1, 首先根据文档编码找到需要修改的文档 2,修改文档编码 QuerySpec qs=new QuerySpec(WTDocument.class); SearchCondition sc=new SearchCondition(WTDocument.class,WTDocument.NUMBER,"=",number1); qs.appendSearchCondition(sc); qs.appendAnd(); SearchCondition sc1=VersionControlHelpe
分类: 其他 发布时间: 02-23 23:10 阅读次数: 0

7.wizard

1.在添加action按钮,配置 <objecttype name="test" class="" resourceBundle="ext.ent.navigationRB"> <action id="wizard_step1" name="wizard_step1"> <command url="netmarkets/jsp/ext/test/wizard_step1.jsp" windowType="wizard_step" /> </action> <action id="wizard_
分类: 其他 发布时间: 02-23 23:10 阅读次数: 0

听风听君

分类: 其他 发布时间: 02-23 23:09 阅读次数: 0

8.jca客制化table

1.jsp页面内容 2.java代码 <%@ include file="/netmarkets/jsp/util/begin.jspf"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <%@ taglib uri="http://www.ptc.com/windchill/taglib/components" prefix="wca"%> <wca:describeTable var="tableDescr
分类: 其他 发布时间: 02-23 23:09 阅读次数: 0

再次重逢

从今天开始写学习笔记了 本文章目的 明人不说暗话,就是为了获得积分,刚刚下载别人东西时说没有积分,就来发布一个文字了 写的应该差不多了 ,over; 拜拜明天见 ;
分类: 其他 发布时间: 02-23 23:08 阅读次数: 0

opencv读取txt文件,然后保存为Mat类型

#include <stdio.h> #include <cv.h> #include “cxcore.h” #include #include #include “opencv2/core/core.hpp” #include “opencv2/highgui/highgui.hpp” #include “opencv2/nonfree/nonfree.hpp” using namespace std; using namespace cv; int main(int argc, char*
分类: 其他 发布时间: 02-23 23:08 阅读次数: 0

2018icpc南京D(模拟退火)

版权声明:写了自己看的,看不懂不能怪我emmmm。 https://blog.csdn.net/qq_40858062/article/details/84312227 题目链接:https://nanti.jisuanke.com/t/33673 思路:就是一个最小球覆盖,模拟退火,和poj2069要求的一样,还可以三分套三分或者几何法。。。 #pragma GCC optimize(2) #include <cstdio> #include <cstdlib> #include <cst
分类: 其他 发布时间: 02-23 23:07 阅读次数: 0

hdu5972(bitset优化匹配)

版权声明:写了自己看的,看不懂不能怪我emmmm。 https://blog.csdn.net/qq_40858062/article/details/84348238 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5972 思路:bitset优化匹配(具体看代码) #pragma GCC optimize(2) #include <cstdio> #include <cstdlib> #include <cstring> #include <
分类: 其他 发布时间: 02-23 23:07 阅读次数: 0

洛谷4173(fft带通配符字符串匹配)

版权声明:写了自己看的,看不懂不能怪我emmmm。 https://blog.csdn.net/qq_40858062/article/details/84386072 题目链接:https://www.luogu.org/problemnew/show/P4173 思路:就是FFT的匹配,具体可以去洛谷看题解(PS:第二个大佬的题解写的挺好的emmm) #include <cstdio> #include <cstdlib> #include <cstring> #include <bit
分类: 其他 发布时间: 02-23 23:06 阅读次数: 0

codeforces 1080 C(矩形面积交)

版权声明:写了自己看的,看不懂不能怪我emmmm。 https://blog.csdn.net/qq_40858062/article/details/84455536 题目链接:http://codeforces.com/contest/1080/problem/C 思路:根据给定的坐标可以计算出黑白方块各有几个,首先对于两种颜料不管其他的减去另一种颜色的方块个数,接着要管的不过是相交部分而已,加上去就完了。 #pragma GCC optimize(2) #include <cstdio
分类: 其他 发布时间: 02-23 23:06 阅读次数: 0

斯特林数,贝尔数

版权声明:写了自己看的,看不懂不能怪我emmmm。 https://blog.csdn.net/qq_40858062/article/details/84728806 第一类斯特林数: s (n,m)表示把n 个元素划分为m 个非空循环排列集合的方案数。 递推式:s(n,m)=s(n−1,m−1)+(n−1)∗s(n−1,m)s(n,m)=s(n−1,m−1)+(n−1)∗s(n−1,m) const ll maxn=20; ll stirling[maxn][maxn]; void St
分类: 其他 发布时间: 02-23 23:06 阅读次数: 0

hdu3507(斜率优化dp)

版权声明:写了自己看的,看不懂不能怪我emmmm。 https://blog.csdn.net/qq_40858062/article/details/85007227 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3507 思路:板子题 #pragma GCC optimize(2) #include <cstdio> #include <cstdlib> #include <cstring> #include <bitset> #inclu
分类: 其他 发布时间: 02-23 23:06 阅读次数: 0

E. Intersection of Permutations(分块+二维树状数组)

版权声明:写了自己看的,看不懂不能怪我emmmm。 https://blog.csdn.net/qq_40858062/article/details/85058666 题目链接:https://codeforces.com/contest/1093/problem/E 思路:两种操作对A数组没有影响,且两个数组都是1-n的全排列,那么可以将B数组的元素映射成A数组相同元素的下边,那么对于1查询就变成了问B数组中的一个区间中的元素有多少个大于L且小于R。对于这个问题,直接暴力查询复杂度是O(n
分类: 其他 发布时间: 02-23 23:05 阅读次数: 0

洛谷P3810(cdq)

版权声明:写了自己看的,看不懂不能怪我emmmm。 https://blog.csdn.net/qq_40858062/article/details/86483126 题目链接:https://www.luogu.org/problemnew/show/P3810 思路:cdq模板题,三维分别用排序、树状数组、cdq处理 #pragma GCC optimize(2) #include <cstdio> #include <cstdlib> #include <cstring> #incl
分类: 其他 发布时间: 02-23 23:05 阅读次数: 0

洛谷P1280(dp)

版权声明:写了自己看的,看不懂不能怪我emmmm。 https://blog.csdn.net/qq_40858062/article/details/86751188 题目链接:https://www.luogu.org/problemnew/show/P1280 思路:倒着dp,很多时候正着dp想不到的时候可以想想到着来,可能就没有后效性了 #include <cstdio> #include <cstdlib> #include <cstring> #include <bitset>
分类: 其他 发布时间: 02-23 23:05 阅读次数: 0

线性基(洛谷P3812)

版权声明:写了自己看的,看不懂不能怪我emmmm。 https://blog.csdn.net/qq_40858062/article/details/87877177 链接:https://www.luogu.org/problemnew/show/P3812 用线性基求这组数xorxor出的最大值:从高往低扫axax,若异或上axax使答案变大,则异或。 从低到高扫这个数的每一位,如果这第 i 位为 1,就异或上 Pi,然后知道处理到最后一位。如果变成 0 了,那么就是可以的。 线性基的任
分类: 其他 发布时间: 02-23 23:05 阅读次数: 0

Tensorflow reduce_sum()

tf.reduce_sum(arg1,arg2) 对arg1进行求和,消去维度arg2。 arg1:待处理数据 arg2: 如果为空,那么对数据中所有元素求和; 否则,代表消去的维度。 print(tf.reduce_sum( [[1, 2, 3],[1, 2, 3]] ) ) print(tf.reduce_sum( [[1, 2, 3],[1, 2, 3]],0 ) ) #消去第0维,即对矩阵每一列求和 print(tf.reduce_sum( [[1, 2, 3],[1, 2, 3]
分类: 其他 发布时间: 02-23 23:04 阅读次数: 0

Tensorflow官方教程笔记--Eager execution basics

import tensorflow as tf print(tf.add(1, 2)) print(tf.add([1, 2], [3, 4])) print(tf.square(5)) print(tf.reduce_sum([1, 2, 3])) print(tf.encode_base64("hello world")) print(tf.square(2) + tf.square(3)) tf.Tensor(3, shape=(), dtype=int32) tf.Tensor([
分类: 其他 发布时间: 02-23 23:03 阅读次数: 0

Tensorflow官方教程笔记--Automatic differentiation and gradient tape

import tensorflow as tf import numpy as np tf.enable_eager_execution() #这句得在程序开始执行前写 x = tf.ones((2, 2)) with tf.GradientTape() as t: t.watch(x) y = tf.reduce_sum(x) z = tf.multiply(y, y) print(y) print(z) # Derivative of z with respect to
分类: 其他 发布时间: 02-23 23:03 阅读次数: 0