1036: [ZJOI2008]树的统计CountTime Limit: 10 SecMemory Limit: 162 MBSubmit: 4726Solved: 1984[Submit][Status]Description一棵树上有n个节点,编号分别为1到n,每个节点都有一个权值w。我们将以下...
分类:
其他好文 时间:
2014-07-03 11:13:30
阅读次数:
205
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist...
分类:
其他好文 时间:
2014-07-03 11:09:35
阅读次数:
185
2325: [ZJOI2011]道馆之战Time Limit: 40 SecMemory Limit: 256 MBSubmit: 813Solved: 309[Submit][Status]Description口袋妖怪(又名神奇宝贝或宠物小精灵)红/蓝/绿宝石中的水系道馆需要经过三个冰地才能到达...
分类:
其他好文 时间:
2014-07-02 00:59:12
阅读次数:
289
3531: [Sdoi2014]旅行Time Limit: 20 SecMemory Limit: 512 MBSubmit: 323Solved: 192[Submit][Status]DescriptionS国有N个城市,编号从1到N。城市间用N-1条双向道路连接,满足从一个城市出发可以到达其它...
分类:
其他好文 时间:
2014-07-02 00:57:14
阅读次数:
348
在JavaScript可以使用try...catch来进行异常处理。例如:try { foo.bar();} catch (e) { alert(e.name + ": " + e.message);}目前我们可能得到的系统异常主要包含以下6种:EvalError: raised when an e...
分类:
Web程序 时间:
2014-07-01 13:31:30
阅读次数:
249
select P.SPID, s.status, S.sid,S.serial#,S.username,S.machine,S.program,S.osuser,to_char(S.logon_time,'yyyy/mm/dd-hh24:mi:ss'),s.audsidfrom v$process ...
分类:
其他好文 时间:
2014-07-01 13:16:08
阅读次数:
239
start.shJava代码#!/usr/bin/bash##start.sh#@auth:zhoulin@lianchuang.com#SERVER_STATUS(){serv_status=`ps-ef|grepweblogic|grepwebapp|grep-vgrep|grep$1|wc-l...
分类:
Web程序 时间:
2014-06-30 23:05:20
阅读次数:
578
JAVA大数....
a^b-b^a
Time Limit: 250MS
Memory Limit: 4096KB
64bit IO Format: %I64d & %I64u
[Submit] [Go Back]
[Status]
Description
You are gi...
分类:
其他好文 时间:
2014-06-30 19:35:34
阅读次数:
296
之前在用ssh整合json时一直发现前台获取不到json的返回数据,直接运行action出现以下错误:
HTTP Status 500 - org.apache.struts2.json.JSONException: org.apache.struts2.json.JSONException: org.apache.struts2.json.JSONException: org.apac...
分类:
数据库 时间:
2014-06-30 17:17:02
阅读次数:
351
作为一个oracle dba有时候不得不管理一下mysql数据库,当为主从库时需要阶段性清理mysql binary log,清楚方式如下:
首先查看mysql 的当前日志组
show master status;
确定当前日志组后删除日志文件
purge binary logs to 'mysql-bin.000795';
删除000795之前的日志...
分类:
数据库 时间:
2014-06-30 17:16:01
阅读次数:
240