参考: 1.https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum/105963/adding-fields-to-inventonhand-form-in-ax2012 2.https://community.dynamics ...
分类:
其他好文 时间:
2020-04-03 00:42:05
阅读次数:
67
def add(a,b): print(f"ADDING {a}+{b}") return a+b def subtract(a,b): print(f"SUBTRACTING {a}-{b}") return a-b def multiply(a,b): print(f"MULTIPLY {a}* ...
分类:
其他好文 时间:
2020-04-01 16:33:33
阅读次数:
85
安装MySQL ubuntu使用 "apt安装" :apt是Debian及其衍生发行版的软件包管理器。其他Linux安装方法见 "官网" 。 以下为当前环境未安装过MySQL,已安装过查看下面的第xx步和xx步。 1 Adding the MySQL APT Repository 2 通过APT安装 ...
分类:
数据库 时间:
2020-03-22 16:18:08
阅读次数:
100
题目链接:https://codeforces.com/contest/1312 题目大意: 能否对一个数组执行任意次操作,使得其变为目标数组。 对于第i次操作,我们可以放弃,或给数组中任意一个元素加上k^i 想法: 我们不难发现一个数 = k^x + k^y + k^z + ... (x != y ...
分类:
其他好文 时间:
2020-03-18 13:46:27
阅读次数:
64
Implement a MyCalendar class to store your events. A new event can be added if adding the event will not cause a double booking. Your class will have ...
分类:
其他好文 时间:
2020-03-14 13:06:36
阅读次数:
50
"C. Adding Powers" 题意 每次不能重复使用k的幂,问能不能构造数组中的每一个数 。 思路 对所有的数进行因式分解,所有数的k进制位上的数不能大于1,大于1就输出NO,否则就输出YES。 代码实现 ...
分类:
其他好文 时间:
2020-03-10 19:59:43
阅读次数:
81
http://codeforces.com/contest/1312/problem/C题目链接 这道题有许多种解法,在此介绍一种类似题都能通用的方法。相信许多人也最想看这种方法。 在介绍之前,先理解一下当k=2时的情况。 k=2,n=23时 有23=2^4+2^2+2^1+2^0; 这个式子能说明 ...
分类:
其他好文 时间:
2020-03-10 16:01:49
阅读次数:
49
今天装了一台centos7,像往常一样通过/etc/inittab去修改启动级别,然而进去之后却看到如下情况: # inittab is no longer used when using systemd. # # ADDING CONFIGURATION HERE WILL HAVE NO EFF ...
分类:
其他好文 时间:
2020-03-07 16:09:42
阅读次数:
62
1.查看一下php文件: check_addslashes()会在单引号前加一个\ 例如:I'm hacker 传入addslashes(),得到:I\'m hacker 本题想以此阻止sql注入语句闭合,但是可以使用宽字节绕过: 原理大概来说就是,一个双字节组成的字符,比如一个汉字‘我’的utf8 ...
分类:
其他好文 时间:
2020-03-03 19:14:12
阅读次数:
91
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.No... ...
分类:
其他好文 时间:
2020-03-03 14:34:22
阅读次数:
94