The first solution I figured out is O(n^3). I thought it must be O(n^2) to get max points on a line for a given point.. but after checking several art...
分类:
其他好文 时间:
2014-07-22 22:47:15
阅读次数:
226
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO.Ports;using System.Runtime.CompilerServices;using Sy...
分类:
其他好文 时间:
2014-07-22 22:44:35
阅读次数:
327
Building Roads
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 8999
Accepted: 2596
Description
Farmer John had just acquired several new farms! He wants to...
分类:
其他好文 时间:
2014-07-21 23:29:43
阅读次数:
232
Createafile"1weekago"============================#root@ubun1204:/root/study#date+%Y%m%d20140718root@ubun1204:/root/study#touch-d"1weekago"file2root@ubun1204:/root/study#touch-d"10dayago"file1root@ubun1204:/root/study#ls-lfile1file2-rw-r--r--1rootroot0Jul823..
分类:
其他好文 时间:
2014-07-19 12:41:24
阅读次数:
195
A relational database, like mysql, provides transactions to wrap several operations in one unit, make them all pass or all fail. All isolation levels ...
分类:
其他好文 时间:
2014-07-18 17:21:39
阅读次数:
287
A - Accurately Say "CocaCola"!DescriptionIn a party held by CocaCola company, several students stand in a circle and play a game.One of them...
分类:
其他好文 时间:
2014-07-18 00:01:04
阅读次数:
239
Atlantis
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 16882
Accepted: 6435
Description
There are several ancient Greek texts that contain descriptions...
分类:
其他好文 时间:
2014-07-16 17:31:31
阅读次数:
165
无书面授权,请勿转载
第五章 自定义模块
Using a module
Now that we have written our very first module for Ansible, we should give it a
go in a playbook. Ansible looks at several places for its modules: first it looks ...
分类:
其他好文 时间:
2014-07-16 09:14:31
阅读次数:
376
题意:http://acdream.info/problem?pid=1112Problem DescriptionHere is Alice and Bob again !Alice and Bob are playing a game. There are several numbers.Fir...
分类:
其他好文 时间:
2014-07-14 23:51:56
阅读次数:
425
Suppose you are given a string and you want to count how many times each letters appears. There are several ways you do it:You could create 26 variabl...
分类:
其他好文 时间:
2014-07-14 21:55:02
阅读次数:
247