--shell读取文件的每一行-----------------------2014/06/13#!/bin/bashwhile read linedo echo $linedone < filename(待读取的文件)----------------------------------------...
分类:
其他好文 时间:
2014-06-15 08:42:17
阅读次数:
197
刚刚A了那题之后 想到以前自己的OJ那边有个整数划分...同时 tz 那边也有个很相似的 我是做了TZ的再做了自己OJ的 一起 放上链接 touch me touch me其实 我们解决的问题 应该主要是 字典序的输出和不能重复的输出就是说 1+1+2出现了 那么1+2+1就不应该出现 -- ...
分类:
其他好文 时间:
2014-06-14 22:49:58
阅读次数:
273
《Windows Azure Platform 系列文章目录》 细心的用户会发现,微软在国外和国内的数据中心建设都是成对的,比如香港数据中心(Asia East)和新加坡的数据中心(South East Asia)。这是因为微软充分考虑了异地冗余的能力。在两对数据中心之间,比如香港和新加坡...
分类:
数据库 时间:
2014-06-14 19:26:43
阅读次数:
270
这题 唯一的价值应该就是 稍微用了下map 同时也算自己对于prim算法的再次练手吧..... touch me其余的 没什么好讲的 就是保留1位小数 这边的数据范围 题目没有给出 我也一直不知道......明天 考6J了.....说些什么 上帝才能听到我的祈求呢~ 1 // TOJ 2119 最....
分类:
其他好文 时间:
2014-06-14 19:07:18
阅读次数:
150
Description:The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is re...
分类:
其他好文 时间:
2014-06-14 19:05:13
阅读次数:
197
Treasure ExplorationTime Limit:6000MSMemory Limit:65536KTotal Submissions:6558Accepted:2644DescriptionHave you ever read any book about treasure explo...
分类:
其他好文 时间:
2014-06-14 17:11:19
阅读次数:
248
坦克大战
时间限制:1000 ms | 内存限制:65535 KB
难度:3
描述
Many of us had played the game "Battle city" in our childhood, and some people (like me) even often play it on computer now.
What we are dis...
分类:
其他好文 时间:
2014-06-14 14:30:01
阅读次数:
274
var ivar = [:]
ivar.className // __NSDictionaryI
var i = 1
i.className // error: 'Int' does not have a member named 'className'
If you want to get the type of a primitive, you have to use bridgeToOb...
分类:
其他好文 时间:
2014-06-14 14:28:55
阅读次数:
234
#include
#include
using namespace std;
#define read(x) scanf("%lld",&x)
int main()
{
priority_queue,greater >q;
long long n,temp,sum;
read(n);
if(n==1)
{
read(temp);
printf("%lld\n",temp);
...
分类:
其他好文 时间:
2014-06-14 10:34:12
阅读次数:
223
题目链接:Stockbroker Grapevine
题意: n个人炒股,每个人都可以给其他人报信,第 1 行 n,第x行 第一个 是 第 x-1个人可以给几个人报信,和时间 球最少时间 和从第几个人开始报信
水题,Floyd 一遍 过;
ME 676KB
TI 16MS
#include
#include
#include
#include
#incl...
分类:
其他好文 时间:
2014-06-14 10:26:59
阅读次数:
168