[分享] Google codejam 2017 程式设计比赛题目 1 of 4

这题我有写,但是 Small dataset 就过不了了 ProblemLast year, the Infinite House of Pancakes introduced a new kind of pancake. It has a happy face made of chocolate chips on one side (the ha

[分享] Google codejam 2017 程式设计比赛题目 2 of 4

这题我只答对 Small dataset, Large dataset 我答错了 ProblemTatiana likes to keep things tidy. Her toys are sorted from smallest to largest, her pencils are sorted from shortest to longest and

[分享] Google codejam 2017 程式设计比赛题目 3 of 4

这题我对了 Small dataset1,dataset2, Large dataset 答错了 ProblemA certain bathroom has N + 2 stalls in a single row; the stalls on the left and right ends are permanently occupied by the bathro

[分享] Google codejam 2017 程式设计比赛题目 4 of 4

这题我看完题目就放弃了,自己的等级差太多了... ProblemYou are about to host a fashion show to show off three new styles of clothing. The show will be held on a stage which is in the

Windows键卡住

奇怪的事今天又发生了,按某些特定按键,如D键,会跳到桌面 ; 按L键,会登出 ; 按E键,会跳出我的电脑 。重新启动Windows再登入仍是一样。这种状况

有趣的一件事: C++另类递迴

想试写两个C++程式,可以互相呼叫及传递讯息什么的。于是先写了只有空白视窗的prg1.exe及prg2.exe,两执行档放在同一个资料夹。 再来想要用prg1执行prg2 另

SQL语法8(字串转日期的好帮手Convert函数)

输出格式:2008-02-27 00:25:13 SELECT CONVERT(char(19), getdate(), 120) 输出格式:2008-02-27 SELECT CONVERT(char(10), getdate(), 20) 输出格式:2008/02/27 SELECT CONVERT(char(10), getdate(

SQL语法9(字串处理&&日期格式处理)

取得部分字串 SUBSTRING(原始字串,start,length) 字串位置 CHARTINDEX(要搜寻的字串,原始字串,搜寻起始位置) 取代字串 REPLACE(原始字串,搜寻字串,取代字串) -固定8位

BEST TAR COMMAND ( TAR ARCHIVE ) WITH EXAMPLES IN LINUX

Tar command is a very useful command utility stands for Tape Archive is also referred as Tarball is used to take backup of the data in archived format. It creates output file with extension .tar for ex

LINQ 泛型(ㄧ)

T:可以是任何型别 (INT,STRING,FLOAT) WHERE:它叫做「条件约束」,MSDN 的定义:当您定义泛型类别时,可限制用户端程式码在执行个体化类别时,型别引数可以使

EXPLAINING SPECIAL LINUX PERMISSIONS ( SUID | SGID | STICKY

In this article we are going to discuss on Special Linux Permissions i.e. SUID , SGID and Sticky Bit. Before we discuss about Special Linux Permissions let’s have look at basic Linux Permissions. In