1.Difference between shallow copy and deep copy?浅复制和深复制的区别?答案:浅层复制:只复制指向对象的指针,而不复制引用对象本身。深层复制:复制引用对象本身。意思就是说我有个A对象,复制一份后得到A_copy对象后,对于浅复制来说,A和A_copy指向...
分类:
移动开发 时间:
2014-11-10 11:23:47
阅读次数:
356
This page documents the few differences and incompatibilities between the PyPy Python interpreter and CPython. Some of these differences are “by desig...
分类:
编程语言 时间:
2014-11-10 09:52:58
阅读次数:
295
-------运算符---------一元运算符--正号+,负号-,负号使用的时候最好加括号,是否容易当成减号操作--运算符的优先级第一级:乘模除* % /第二级:正负+-,加减+-第三级:>,=,,!=,!第四级:not第五级:and or between第六级:all any some in l...
分类:
数据库 时间:
2014-11-09 23:30:27
阅读次数:
413
Abstract. BRep short for Boundary Representation. First give the definition of the BRep, then compare the BRep mode between OpenCASCADE and OpenNURBS....
分类:
其他好文 时间:
2014-11-08 13:21:09
阅读次数:
531
Learning Puppet — Resource OrderingLearn about dependencies and refresh events, manage the relationships between resources, and discover the fundament...
分类:
其他好文 时间:
2014-11-07 16:32:34
阅读次数:
318
对于 Oracle 的 rownum 问题,很多资料都说不支持>,>=,=,between...and,只能用以上符号(,>=,=,between..and 时会提示SQL语法错误,而是经常是查不出一条记录来,还会出现似乎是莫名其妙的结果来,其实您只要理解好了这个 rownum 伪列的意义就不应该感...
分类:
数据库 时间:
2014-11-06 21:43:58
阅读次数:
269
变量用来临时存储数据运算符练习:优先级① *,%,/② 正,负号③ +,-④ >,=,,!=,!⑤ not⑥ and,or,between(范围)⑦ all(全部),any(任一),in,like(模糊查询),some,exists(存在)⑧ =
分类:
数据库 时间:
2014-11-06 21:28:17
阅读次数:
191
题目:hdoj 2874 Connections between cities
题意:战争过后,一些城市毁坏了。意思图不连通,让你求任意两点的距离、
分析:很明显求LCA
但是图不连通,所以我们Tarjan的时候要对每个点进行。然后标记即可。
另外,这个题目卡vector,看来以后要学着用数组模拟邻接表了。
AC代码:
#include
#include
#...
分类:
其他好文 时间:
2014-11-06 17:30:51
阅读次数:
189
分工 今天的工作 后面的工作 MVVM(李庆, 丁海松) 完成界面之间的导航 interaction between mode...
分类:
其他好文 时间:
2014-11-05 21:13:50
阅读次数:
158