var tag5 = getsp("/uag5.png", 645, 1931); daolu3b.addChild(tag5); var TimeLine = Laya.TimeLine; var timeLine = new TimeLine(); timeLine.addLabel("suox ...
分类:
其他好文 时间:
2020-04-28 18:56:32
阅读次数:
147
php 逻辑运算符如果前面的为假。后面的语句就不执行了。免得我们还费劲的写if 例子 名称 结果$a and $b And(逻辑与) TRUE,如果 $a 与 $b 都为 TRUE。$a or $b Or(逻辑或) TRUE,如果 $a 或 $b 任一为 TRUE。$a xor $b Xor(逻辑异 ...
分类:
Web程序 时间:
2020-04-28 15:15:26
阅读次数:
76
typedef pair<string,Student>pair_t; int main() { map<string,Student> mapstu; mapstu.insert(pair_t("2",Student("delaiwen",23))); mapstu.insert(pair_t(" ...
分类:
编程语言 时间:
2020-04-28 13:24:51
阅读次数:
57
题目描述: Input: Output: 题意:给定n个数,求出使得总和的绝对值最小的最小集合,该集合是给定的n个数的子集,并输出这个最小总和和集合内的元素个数,在满足总和最小的前提下要求元素个数最小。 思路:这道题如果用暴力来写,由于每个数都有两种情况,故硬枚举就是2^n的效率,但n是小于等于三十 ...
分类:
其他好文 时间:
2020-04-25 13:01:03
阅读次数:
61
Nastya and CBS A string $s$ is given. It consists of $k$ kinds of pairs of brackets. Each bracket has the form $t$ — it is an integer, such that $1 \l ...
分类:
其他好文 时间:
2020-04-25 12:38:47
阅读次数:
74
Practice 377 我成长在一个中产家庭,家里的条件不允许我随心所欲的周游世界。我接触外界的唯一方式就是从小和世界各地的笔友通信,然后就是通过电视。从小到大我一直很喜欢我家当地电视台每周日晚播放的非常搞笑的英国喜剧。所以当有机会申请海外学习交流的时候,我选择的了英国,当然也是因为语言相通。 I ...
分类:
其他好文 时间:
2020-04-21 16:52:22
阅读次数:
79
参考: 资源加载 一 LayaDemo下载 官方推荐先看Demo示例,大致了解3D都有哪些功能。 示例地址:https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Resource&name=LoadResourceD ...
分类:
其他好文 时间:
2020-04-17 23:25:22
阅读次数:
192
China Air Compressor : The size, power and CFM of the air compressor is not difficult to understand, but it does require some research to fully grasp. ...
分类:
其他好文 时间:
2020-04-17 15:50:44
阅读次数:
83
在C++ 98 中,auto 的作用是让变量成为自动变量(拥有自动的生命周期),但是该作用是多余的,变量默认拥有自动的生命周期,在C++ 11 中,已经删除了该用法,取而代之的作用是:自动推断变量的类型。 0.代替冗长复杂,变量使用范围专一的变量声明 std::vector<std::string> ...
分类:
编程语言 时间:
2020-04-16 14:53:49
阅读次数:
93