题目链接:http://acm.hnu.cn/online/?action=problem&type=show&id=12869解题报告:看到n的范围这么大,一看就是找规律,把前30个打出来之后就找到了循环节,循环节从第25个开始,长度为6。离线打表,把所有结果都打出来了。 1 #include 2...
分类:
其他好文 时间:
2014-08-07 22:43:45
阅读次数:
312
1、显示当前用户名 select user from dual; show user2、显示当然用户有哪些表 select * from tab;3、显示当所有用户的表 select * from user_tables;4、显示当有用户可以访问表 select * from all_tables;...
分类:
数据库 时间:
2014-08-07 12:22:09
阅读次数:
263
#!/usr/bin/pythonimporttimeimportosif__name__==‘__main__‘:hwclock_time="".join(os.popen("hwclock--show--utc").read().split("")[0:6])hwclock_timestamp=time.mktime(time.strptime(hwclock_time,‘%a%d%b%Y%I:%M:%S%p‘))os_time=time.time()difference=abs(int(hwclock_..
分类:
其他好文 时间:
2014-08-07 07:34:49
阅读次数:
328
By default, the action bar appears at the top of your activity window, slightly reducing the amount of space available for the rest of your activity's layout. If, during the course of user interaction, you want to hide and show the action bar, you can do s...
分类:
移动开发 时间:
2014-08-07 03:07:19
阅读次数:
344
class SwitchesController [:index, :show] def index end def show end #存储拓扑 def topo @vts = VmToSwitch.all @sts = SwitchToSwitch.all @st...
分类:
其他好文 时间:
2014-08-07 03:05:28
阅读次数:
269
undo表空间中undo段是自动生成的,oracle自动使用undo表空间的undo段。作为高级DBA,需要了解Oracle是如何使用undo段的。这样出了性能问题才能够解决。1.Undo表空间及管理方式show parameter undo_tablespaceshow parameter und...
分类:
数据库 时间:
2014-08-07 03:02:18
阅读次数:
313
弹出窗口两种方式:1.window.showModalDialog:var feature = "dialogWidth:615px;dialogHeight:505px;status:no;help:no;scroll:no;resizable:no;center:yes";window.show...
http://tyvj.cn/Problem_Show.aspx?id=1307kruskal裸题。(水题红色警报)#include #include #include #include #include #include using namespace std;#define rep(i, n) ...
分类:
其他好文 时间:
2014-08-07 00:23:27
阅读次数:
265
apt-cache search packagename 搜索包apt-cache show packagename 获取包的相关信息,如说明、大小、版本等apt-get install packagename 安装包apt-get install packagename --reinstall 重...
分类:
其他好文 时间:
2014-08-07 00:19:47
阅读次数:
175
记录rman的命令,备忘
连接到目标数据库: BACK (DBID=4048592102)
连接到恢复目录数据库
RMAN> 2> show all; --查看参数
RMAN 配置参数为:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
CONFIGURE BACKUP OPTIMIZAT...
分类:
其他好文 时间:
2014-08-06 23:11:12
阅读次数:
284