在记事本中写算法题和在纸上写其实感觉差不多,反正是不能进行调试。想起某高手的话,写代码要做到“人机合一”,写高级语言时(指的是 C 和 C++)脑海中要知道当前写的代码对应的反汇编代码,也就是要深入了解编译器对高级语言的处理。什么时候能达到这样的境界呢? LeetCode 题库的第 20 题——有效 ...
分类:
其他好文 时间:
2018-08-04 00:59:07
阅读次数:
192
34、WhichtwocanbebackedupbyusingRMANwhenadatabaseIsopeninARCHIVELOGmode,sothatmediarecoverycanbeperformedIfrequired?A)controlfilesB)passwordfileC)pfileD)onlineredologsE)flashbacklogsF)datafilesAnswer:A
分类:
其他好文 时间:
2018-08-03 16:27:01
阅读次数:
111
1.如果f是一个函数,请说明 f() 和f的意思。 f是函数的地址,f()是函数 2.怎样理解数组的下标运算? 先偏移,后取址。 3.int *p,*q; int a[]={10,20,30,40}; p=&a[0]; q=&a[3]; 请问q-p等于多少? %p输出 为3 %d输出为12 4.请说 ...
分类:
编程语言 时间:
2018-08-02 20:52:38
阅读次数:
122
恢复内容开始 1.编写一个函数,功能为返回两个int类型参数的最大的值 #include <stdio.h>int FindMax( int a, int b); int main (){ int a = 33; int b = 55; int max ; max = FindMax(a, b); ...
分类:
编程语言 时间:
2018-08-02 20:41:50
阅读次数:
125
32、Examinethesecommandsandtheiroutput:?SQL>SELECT*FROMemp;?ENOENAME?---------?100Adam?101Alan?SQL>INSERTINTOempVALUES(102,‘Ben");?1rowcreated.?SQL>COMMIT;?Commitcompleted.?SQL>UPD
分类:
其他好文 时间:
2018-08-02 12:24:37
阅读次数:
232
31、WhichtwoeventsalwaysrequesttheLGWRtowrite?A)whenLGWRisnotifiedbyaserverprocessthatperformsaCommitorROLLBACKB)WhenPMONrestartsaserverprocessC)whenDBWnwritesdirtybuffersD)whenalogswitchoccursE)whenac
分类:
其他好文 时间:
2018-08-02 12:18:33
阅读次数:
323
30、Whichistruewhenadatabaseinstanceisshutdown?A.Onlytransactionalandnormalmodeswaitforalluncommittedtransactionstocommitorrollbackandthenclosethedatabase.B.Immediate,transactional,andnormalmodesallres
分类:
数据库 时间:
2018-08-01 15:19:34
阅读次数:
162
2018 HDU多校第三场赛后补题 从易到难来写吧,其中题意有些直接摘了Claris的,数据范围是就不标了。 如果需要可以去hdu题库里找。题号是6319 ~ 6331。 "L. Visual Cube" 题意: 在画布上画一个三维立方体。 题解: 模拟即可。 代码: cpp include usi ...
分类:
其他好文 时间:
2018-08-01 11:48:57
阅读次数:
164
29、Inoneofyourdatabases:ThedatabasedefaulttablespaceisEXAMPLE.Deferred_segment_creationisfalse.Examinethesecommands:SQL>createuseruser1identifiedbyoracle_4upasswordexpire;Usercreated.SQL>alterus
分类:
其他好文 时间:
2018-07-31 15:32:54
阅读次数:
216
29、In one of your databases: * The database default tablespace is EXAMPLE. * Deferred_segment_creation is false. Examine these commands: SQL> create u ...
分类:
其他好文 时间:
2018-07-31 15:32:45
阅读次数:
339