用Chromium,自動更新是個問題。每天都有好幾個Nightly版,他又不會自己更新,下載更新總是很煩人。折騰了一下,寫個批次檔,結合著wget和unzip,搞定。每隔幾天運行一下,就可以下載最新編譯版了。把下面的代碼儲存成 bat 檔案,放在chrome-win32中。同時下載個wget和unzip。放在裡面,上, @echo off del chrome-win32.zip wget
-- 統計交叉相等兩列元祖的次數 去掉重複 if object_id('[tb]') is not null drop table [tb] go create table [tb]([num1] varchar(10),[num2] varchar(10)) insert [tb] select 'a','b' union all select 'b','c' union all select 'b','a' union all select 'c','b' union all
--電話通話次數以及時間長度 DECLARE @T TABLE (id INT,號碼 INT,通話時間長度 VARCHAR(8)) INSERT INTO @T SELECT 1,21981052,'00:01:19' UNION ALL SELECT 2,21981052,'00:00:26' UNION ALL SELECT 3,21980021,'00:00:56' UNION ALL SELECT 4,21980389,'00:02:05' UNION ALL SELECT 5,2198
Zero SumConsider the sequence of digits from 1 through N (where N=9) in increasing order: 1 2 3 ... N.Now insert either a `+' for addition or a `-' for subtraction or a ` ' [blank] to run the digits together between each pair of digits (not in front
(1)Cannot find the X.509 certificate using the following search criteria: StoreName 'My', StoreLocation 'CurrentUser', FindType 'FindBySubjectName', FindValue 'FeedServiceServer'. Must put the certificate into LocalMachine like:makecert -r -pe -n
Farey SequenceTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 7881Accepted: 2957DescriptionThe Farey Sequence Fn for any integer n with n >= 2 is the set of irreducible rational numbers a/b with 0 < a < b <= n and gcd(a,b) = 1
Visible Lattice PointsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 3889Accepted: 2144DescriptionA lattice point (x, y) in the first quadrant (x and y are integers greater than or equal to 0), other than the origin, is visible from the
作者:ACShiryu時間:2011-8-4原題:http://poj.org/problem?id=2407RelativesTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 7396Accepted: 3402DescriptionGiven n, a positive integer, how many positive integers less than n are relatively prime to n? Two