原创 UVA 題目409 - Excuses, Excuses!

 Excuses, Excuses!  Judge Ito is having a problem with people subpoenaed for jury duty giving rather lame excuses

原创 ExtJs 表格的實現

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>Ext Buttons</title>

原创 UVA 題目10010 - Where's Waldorf?

  Where's Waldorf?  Given a m by n grid of letters, ( ), and a list of words, find the location in the grid at wh

原创 UVA 題目10361 - Automatic Poetry

Problem I Automatic Poetry Input: standard input Output: standard output Time Limit: 2 seconds Memory Limit: 32 MB  

原创 Spket的配置和安裝

myeclipse下使用ext的插件有三種方式: 1:配置在線使用: 打開myeclipse: 1、選擇Help -> Software Updates -> Find and Install...-> Search for ne

原创 UVA 537 Artificial Intelligence?

  Artificial Intelligence?  Physics teachers in high school often think that problems given as text are more demandi

原创 EXTJs前後臺交互

<1>Ajax交互方式 Ext.Ajax.request( { //被用來向服務器發起請求默認的url url : "", //請求時發送後臺的參數,既可以是Json對象,也可以直接使用“name = value”形式的字

原创 UVA 題目11300 - Spreading the Wealth

Problem A Communist regime is trying to redistribute wealth in a village. They have have decided to sit everyone aroun

原创 Extjs EditorGridPanel功能

<1>功能:修改一列 然後自動修改另一列 直接使用afteredit事件。當對一個單元格進行編輯完之後,就會觸發afteredit事件,可以通過該事件處理函數來處理單元格的信息編輯。 var gridPanel = new Ext.gr

原创 EXTJs 表格分頁

爲表格添加分頁工具條 <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>Ext Butto

原创 獲取JDBC中的ResultSet的記錄的條數

JDBC中的ResultSet API沒有直接獲取記錄條數的方法,現介紹幾個: 方法一:利用ResultSet的getRow方法來獲得ResultSet的總行數 Java代碼 ResultSet rs; rs.last(); /

原创 UVA 10878 - Decode the tape

Your boss has just unearthed a roll of old computer tapes. The tapes have holes in them and might contain some sort of

原创 EXTJs工具條,菜單,Tab標籤

<1>簡單工具條 <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>Ext Buttons

原创 Redis利用Pipeline加速查詢速度的方法

這篇文章主要給大家介紹了關於Redis利用Pipeline加速查詢速度的相關資料,文中通過示例代碼介紹的非常詳細,對大家學習或者使用Redis具有一定的參考學習價值,需要的朋友們下面來一起學習學習吧 1. RTT

原创 算法之二叉樹各種遍歷

樹形結構是一類重要的非線性數據結構,其中以樹和二叉樹最爲常用。 二叉樹是每個結點最多有兩個子樹的有序樹。通常子樹的根被稱作“左子樹”(left subtree)和“右子樹”(right subtree)。二叉樹常被用作二叉查找樹和二叉堆或