原创 《MySQL實戰45講》筆記(一)

文章目錄Mysql基本架構Server層存儲引擎層執行過程查詢緩存分析器優化器執行器執行器 Mysql基本架構 MySQL分爲Server和存儲引擎層兩部分 Server層 server包括連接器、查詢緩存,分析器、優化器、執行

原创 Unity 5.x遊戲開發指南筆記(一)

文章目錄使用UnityGUI調試遊戲對象的創建基本函數獲取遊戲對象方法一方法二添加組件與修改組件發送廣播與消息克隆移動、旋轉、縮放遊戲對象移動遊戲對象縮放遊戲對象旋轉游戲對象工具類四元數輸入控制 使用UnityGUI 首先先創建一

原创 配置tomcat時遇到的一些問題

今天剛好開始學習java web,在配置tomcat時遇到了一些問題,也鬱悶了有小半天,最後總算是解決了,心情好多了,下面就分享下遇到的這些問題。 首先,我使用的是免安裝的tomcat,直接解壓縮放到根目錄下就可以了。然後打開我

原创 Evaluate Division(LeetCode 339)

題目   Equations are given in the format A / B = k, where A and B are variables represented as strings, and k is a re

原创 哦吼上機考試

機試 public class DBHelpSQL { public static string constr = @"server = XIAOQIANG-PC ;database = test2017;

原创 機試

機試 public class DBHelpSQL { public static string constr = @"server = XIAOQIANG-PC ;database = test2017;in

原创 Course Schedule(leetcode 207)

題目 There are a total of n courses you have to take, labeled from 0 to n - 1. Some courses may have prerequisites, for e

原创 1012. The Best Rank (25)

To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C -

原创 Bison的使用

一、Bison對輸入的匹配   bison是基於你所給定的語法來生成一個可以識別這個語法中有效“語句”的語法分析器。例如下面的這個例子: statement:NAME ‘=’ expression expression:NUMBER

原创 1005. Spell It Right (20)

1005. Spell It Right (20) Given a non-negative integer N, your task is to compute the sum of all the digits of N, and o

原创 1006. Sign In and Sign Out (25)

At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one w

原创 1011. World Cup Betting (20)

With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best playe

原创 1004. Counting Leaves (30)

1004. Counting Leaves (30)   A family hierarchy is usually presented by a pedigree tree. Your job is to count those fam

原创 最長上升子序列(LIS)的一點理解

問題描述 給定n個整數A1,A2,…,An,按從左到右的順序選出儘量多的整數,組成一個上升子序列。比如從序列1,6,2,3,7,5中,可以選出上升子序列1,2,3,5,也可以選出1,6,7,但前者更長。選出的上升子序列中相鄰元素不能相等。

原创 放置街燈(UVA 10859)

問題描述 給你一個n個點m條邊的無向無環圖,在儘量少的節點上放燈,使得所有燈都被照亮。每盞燈將照亮以它爲一個端點的所有邊。在燈的總數最小的前提下,被兩盞燈同時照亮的邊數應儘量大。 輸入格式 輸入的第一行爲測試數據組數T(T≤30)。每組數