本篇参考: https://trailhead.salesforce.com/en/users/strailhead/trailmixes/architect-sharing-and-visibility http://resources.docs.salesforce.com/210/10/en- ...
分类:
其他好文 时间:
2020-02-09 16:33:05
阅读次数:
90
Flip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 squares. One side of each piece is white and the other o ...
分类:
其他好文 时间:
2020-02-08 22:02:58
阅读次数:
86
PAT 甲级 Advanced 1032 Sharing(25) [链表] ...
分类:
其他好文 时间:
2020-02-08 18:03:46
阅读次数:
62
题目如下: Given an array of integers arr and an integer d. In one step you can jump from index i to index: i + x where: i + x < arr.length and 0 < x <= d. ...
分类:
其他好文 时间:
2020-02-08 16:04:58
阅读次数:
64
1. Function Parameters as References The only mode of parameter passing in Python is call by sharing(共享传参). Call by sharing means that each formal par ...
分类:
其他好文 时间:
2020-02-08 09:58:29
阅读次数:
75
Problem "TODO] [Crisp String" "Done] [Lightning Conductor" ...
分类:
其他好文 时间:
2020-02-08 00:20:51
阅读次数:
48
$$The\ 10th\ Shandong\ Provincial\ Collegiate\ Programming\ Contest$$ $A.Calandar$ 签到 $B.Flipping\ Game$ DP $f[i][j]$表示当前第$i$轮按开关,和最终状态相反的有$j$个的方案数 ,初 ...
分类:
其他好文 时间:
2020-02-07 20:33:55
阅读次数:
71
例如增加2G虚拟内存,操作如下:[root@gamedb ~]# free -m[root@gamedb tmp]# dd if=/dev/zero of=/tmp/big_swap bs=1024 count=2000000[root@gamedb tmp]# du -sh /tmp/big_sw ...
分类:
系统相关 时间:
2020-02-07 18:37:46
阅读次数:
86
一定是两个障碍物组成一对来破坏连通性,每个障碍物可能属于最多3对,然后维护障碍物对数就行。但是懒得讨论,暴力分块过了。 涉及到修改的块暴力重构这个块的连通性。只要左端两个位置和右端两个位置中任意两个可互达就具有连通性。 然后每次询问,就先看每个块的连通性,再看每个块之间是否成功的连接起来。 1 #i ...
分类:
其他好文 时间:
2020-02-07 11:07:49
阅读次数:
69
题目:在 "100 game" 这个游戏中,两名玩家轮流选择从 1 到 10 的任意整数,累计整数和,先使得累计整数和达到 100 的玩家,即为胜者。如果我们将游戏规则改为 “玩家不能重复使用整数” 呢?例如,两个玩家可以轮流从公共整数池中抽取从 1 到 15 的整数(不放回),直到累计整数和 >= ...
分类:
其他好文 时间:
2020-02-06 12:22:21
阅读次数:
65