摘要: 配置文件,不想每次都找了!!! JAVA在Linux下 JAVA在windows下 VIM配置 easybcd硬盘安装ubuntu ssh fedora Ubuntu Terminal 代理 ssh允许ssh链接root账户 阅读全文
posted @ 2016-04-29 21:47 Thecoollight 阅读(411) 评论(0) 推荐(0) 编辑
摘要: ```java public class StringApi { public static void main(String[] args) { String s = "Hello,this is the test text!"; System.out.println(s); System.out 阅读全文
posted @ 2017-03-20 20:24 Thecoollight 阅读(160) 评论(0) 推荐(0) 编辑
摘要: +BEGIN_EXAMPLE title: "Java Study Day (1)" data: "2017 03 17 23:19:16" tags: study categories: Docs description: "Java Study Day (1) Java 的基本程序设计结构 " 阅读全文
posted @ 2017-03-19 22:12 Thecoollight 阅读(183) 评论(0) 推荐(0) 编辑
摘要: ArchLinux安装 准备 下载最新的Archlinux,重命名为archlinux.iso,放到C盘根目录。 然后解压镜像arch\boot\x86_64里面的两个文件也放到C盘根目录。 先用EasyBCD添加一个NeoGrub引导,编辑C:\NST\menu.lst,添加: title Ins 阅读全文
posted @ 2017-01-20 20:58 Thecoollight 阅读(368) 评论(0) 推荐(0) 编辑
摘要: HDU 5572 An Easy Physics Problem (计算几何) 题目链接 "http://acm.hdu.edu.cn/showproblem.php?pid=5572" Description On an infinite smooth table, there's a big r 阅读全文
posted @ 2016-10-31 22:59 Thecoollight 阅读(208) 评论(0) 推荐(0) 编辑
摘要: HDU 5130 Signal Interference(计算几何 + 模板) 题目链接 "http://acm.hdu.edu.cn/showproblem.php?pid=5130" Description Two countries A Land and B Land are at war. 阅读全文
posted @ 2016-10-15 00:04 Thecoollight 阅读(283) 评论(0) 推荐(0) 编辑
摘要: Just record some about LaTeX! $\pi$ $\infty$ $\frac{a}{b}$ $\tfrac{a}{b}$ $\sqrt{a}$ $\sum_{a}^{b}$ $\prod\limits_{i = 0}^{n}$ $\int_{a}^{b}$ $_{a}^{b 阅读全文
posted @ 2016-10-09 20:51 Thecoollight 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 2015 asia xian regional F Color (容斥 + 组合数学) 题目链接 "http://codeforces.com/gym/100548/attachments" Description Recently, Mr. Bigrecieved n flowers from h 阅读全文
posted @ 2016-10-09 20:48 Thecoollight 阅读(203) 评论(0) 推荐(0) 编辑
摘要: HDU 5073 Galaxy (2014 Anshan D简单数学) 题目链接 "http://acm.hdu.edu.cn/showproblem.php?pid=5073" Description Good news for us: to release the financial press 阅读全文
posted @ 2016-10-02 23:42 Thecoollight 阅读(150) 评论(0) 推荐(0) 编辑
摘要: HDU 5908 Abelian Period (BestCoder Round 88 模拟+暴力) 题目链接 "http://acm.hdu.edu.cn/showproblem.php?pid=5908" Description Let S be a number string, and occ 阅读全文
posted @ 2016-10-02 23:24 Thecoollight 阅读(163) 评论(0) 推荐(0) 编辑
摘要: hdu 4686 Arc of Dream (矩阵快速幂) 题目链接 "http://acm.hdu.edu.cn/showproblem.php?pid=4686" Description An Arc of Dream is a curve defined by following functi 阅读全文
posted @ 2016-10-01 01:04 Thecoollight 阅读(187) 评论(0) 推荐(0) 编辑
摘要: HDU 5033 Building(单调栈) 题目链接 "http://acm.hdu.edu.cn/showproblem.php?pid=5033" Description Once upon a time Matt went to a small town. The town was so s 阅读全文
posted @ 2016-09-23 19:53 Thecoollight 阅读(232) 评论(0) 推荐(0) 编辑
摘要: HDU 5868 Different Circle Permutation(burnside 引理) 题目链接 "http://acm.hdu.edu.cn/showproblem.php?pid=5868" Description You may not know this but it's a 阅读全文
posted @ 2016-09-12 00:28 Thecoollight 阅读(588) 评论(0) 推荐(0) 编辑
摘要: HDU 4998 Rotate (计算几何) 题目链接 "http://acm.hdu.edu.cn/showproblem.php?pid=4998" Description Noting is more interesting than rotation! Your little sister 阅读全文
posted @ 2016-09-08 22:56 Thecoollight 阅读(252) 评论(0) 推荐(0) 编辑
摘要: HDU 4452 Running Rabbits 题目链接 "http://acm.split.hdu.edu.cn/showproblem.php?pid=4452" Description Rabbit Tom and rabbit Jerry are running in a field. T 阅读全文
posted @ 2016-08-20 13:01 Thecoollight 阅读(251) 评论(0) 推荐(0) 编辑
摘要: HDU 4451 Dressing 题目链接 "http://acm.split.hdu.edu.cn/showproblem.php?pid=4451" Description Wangpeng has N clothes, M pants and K shoes so theoretically 阅读全文
posted @ 2016-08-20 12:51 Thecoollight 阅读(178) 评论(0) 推荐(0) 编辑
摘要: HDU 4442 Physical Examination(贪心) 题目链接 "http://acm.split.hdu.edu.cn/showproblem.php?pid=4442" Description WANGPENG is a freshman. He is requested to h 阅读全文
posted @ 2016-08-20 12:43 Thecoollight 阅读(175) 评论(0) 推荐(0) 编辑
摘要: HDU 5860 Death Sequence(递推) 题目链接 "http://acm.split.hdu.edu.cn/showproblem.php?pid=5860" Description You may heard of the Joseph Problem, the story com 阅读全文
posted @ 2016-08-19 20:47 Thecoollight 阅读(282) 评论(0) 推荐(0) 编辑
摘要: HDU 5862 Counting Intersections(离散化+树状数组) 题目链接 "http://acm.split.hdu.edu.cn/showproblem.php?pid=5862" Description Given some segments which are parall 阅读全文
posted @ 2016-08-19 17:01 Thecoollight 阅读(568) 评论(0) 推荐(0) 编辑
摘要: ` ` c++ ` ` 阅读全文
posted @ 2016-08-17 00:44 Thecoollight 阅读(162) 评论(0) 推荐(0) 编辑
摘要: HDU 5839 Special Tetrahedron 题目链接 "http://acm.hdu.edu.cn/showproblem.php?pid=5839" Description Given n points which are in three dimensional space(wit 阅读全文
posted @ 2016-08-17 00:40 Thecoollight 阅读(366) 评论(1) 推荐(0) 编辑
摘要: HDU 4291 A Short problem(2012 ACM/ICPC Asia Regional Chengdu Online) 题目链接 "http://acm.hdu.edu.cn/showproblem.php?pid=4291" Description 给一个式子求结果。类似Fibo 阅读全文
posted @ 2016-08-09 00:59 Thecoollight 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 数论中的一些定理(学习自ACdreamers) 多边形公式 $S=\frac{1}{2}\left|\sum\limits_{i=0}^{n 1}(X_iY_{i+1} X_{i+1}Y_i)\right|$ 其中是相邻的点,对于n 1的i+1是0代表这第一个点,由于顺时针逆时针会使正负号改变,所以 阅读全文
posted @ 2016-08-08 04:12 Thecoollight 阅读(497) 评论(0) 推荐(0) 编辑
摘要: POJ 3126 Prime Path 题目链接 "http://poj.org/problem?id=3126" Description The ministers of the cabinet were quite upset by the message from the Chief of S 阅读全文
posted @ 2016-05-22 00:55 Thecoollight 阅读(209) 评论(0) 推荐(0) 编辑
摘要: POJ 1426 Find The Multiple 题目链接 "http://poj.org/problem?id=1426" Description Given a positive integer n, write a program to find out a nonzero multipl 阅读全文
posted @ 2016-05-21 23:22 Thecoollight 阅读(192) 评论(0) 推荐(0) 编辑
摘要: POJ 3279 Fliptile 题目链接 "http://poj.org/problem?id=3279" Description Farmer John knows that an intellectually satisfied cow is a happy cow who will giv 阅读全文
posted @ 2016-05-20 13:50 Thecoollight 阅读(207) 评论(0) 推荐(0) 编辑
摘要: POJ 3278 Catch That Cow 题目链接 "http://poj.org/problem?id=3278" Description Farmer John has been informed of the location of a fugitive cow and wants to 阅读全文
posted @ 2016-05-20 07:05 Thecoollight 阅读(163) 评论(0) 推荐(0) 编辑
摘要: POJ 2251 Dungeon Master 题目链接 "http://poj.org/problem?id=2251" Description You are trapped in a 3D dungeon and need to find the quickest way out! The d 阅读全文
posted @ 2016-05-19 23:39 Thecoollight 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 棋盘问题 题目链接 "http://poj.org/problem?id=1321" Description 在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆 阅读全文
posted @ 2016-05-13 13:06 Thecoollight 阅读(200) 评论(0) 推荐(0) 编辑
摘要: HDU 4917 Permutation 题目链接 "http://acm.hdu.edu.cn/showproblem.php?pid=4917" Description bobo has a permutation p1,p2,…,pn of 1,2,…,n. Knowing m extra c 阅读全文
posted @ 2016-04-15 09:42 Thecoollight 阅读(284) 评论(0) 推荐(1) 编辑
摘要: The Pilots Brothers' refrigerator 题目链接 "http://poj.org/problem?id=2965" Description The game “The Pilots Brothers: following the stripy elephant” has 阅读全文
posted @ 2016-04-03 19:03 Thecoollight 阅读(313) 评论(0) 推荐(0) 编辑
摘要: POJ 1753 Flip Game 题目链接 "http://poj.org/problem?id=1753" Description Flip game is played on a rectangular 4x4 field with two sided pieces placed on ea 阅读全文
posted @ 2016-04-03 18:27 Thecoollight 阅读(146) 评论(0) 推荐(0) 编辑
摘要: D. Bicycle Race 题目链接 "http://codeforces.com/contest/659/problem/D" Description Maria participates in a bicycle race. The speedway takes place on the s 阅读全文
posted @ 2016-04-01 22:08 Thecoollight 阅读(196) 评论(0) 推荐(0) 编辑
摘要: C. Tanya and Toys 题目链接 "http://codeforces.com/contest/659/problem/C" Description In Berland recently a new collection of toys went on sale. This colle 阅读全文
posted @ 2016-04-01 22:07 Thecoollight 阅读(263) 评论(0) 推荐(0) 编辑
摘要: B. Qualifying Contest 题目链接 "http://codeforces.com/contest/659/problem/B" Description Very soon Berland will hold a School Team Programming Olympiad. F 阅读全文
posted @ 2016-04-01 15:10 Thecoollight 阅读(222) 评论(0) 推荐(0) 编辑
摘要: A. Round House 题目链接 "http://codeforces.com/contest/659/problem/A" Description Vasya lives in a round building, whose entrances are numbered sequential 阅读全文
posted @ 2016-04-01 13:19 Thecoollight 阅读(211) 评论(0) 推荐(0) 编辑