zoj1221

maksyuki 发表于 oj 分类,标签:
0
zoj1221

Risk

Risk is a board game in which several opposing players attempt to conquer the world. The gameboard consists of a world map broken up into hypothetical countries. During a player's turn, armies stationed in one country are only allowed to attac >>继续阅读

zoj1203

maksyuki 发表于 oj 分类,标签:
0
zoj1203

Swordfish

There exists a world within our world

A world beneath what we call cyberspace.

A world protected by firewalls,

passwords and the most advanced

security systems. >>继续阅读

zoj1092

maksyuki 发表于 oj 分类,标签:
0
zoj1092

Arbitrage

Arbitrage is the use of discrepancies in currency exchange rates to transform one unit of a currency into more than one unit of the same currency. For example, suppose that 1 US Dollar buys 0.5 British pound, 1 British pound buys 10.0 Fre >>继续阅读

zoj1091

maksyuki 发表于 oj 分类,标签:
0
zoj1091

Knight Moves

A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight moves that visits each square of a given set of n squares on a chessboard exactly once. He thinks that the >>继续阅读

zoj1082

maksyuki 发表于 oj 分类,标签:
0
zoj1082

Stockbroker Grapevine

Stockbrokers are known to overreact to rumours. You have been contracted to develop a method of spreading disinformation amongst the stockbrokers to give your employer the tactical edge in the stock market. For maximum effect, >>继续阅读

zoj1076

maksyuki 发表于 oj 分类,标签:
0
zoj1076

Gene Assembly

Statement of the Problem

With the large amount of genomic DNA sequence data being made available, it is becoming more important to find genes (parts of the genomic DNA which are responsible for the synthesis of proteins) in these se >>继续阅读

zoj1061

maksyuki 发表于 oj 分类,标签:
0
zoj1061

Web Navigation

Standard web browsers contain features to move backward and forward among the pages recently visited. One way to implement these features is to use two stacks to keep track of the pages that can be reached by moving backward and forw >>继续阅读

xdu1076

maksyuki 发表于 oj 分类,标签:
0
xdu1076

1076: 小W喜欢的数字

题目描述

大家都知道,小W是一名大帅哥,当然比起Light还是有点儿差距的!帅气的小W认为0-9这些数字,只有1,3,5是完美的。

欲问小W为什么,小W总是说“帅哥,是不需要解释的”.所以在帅哥小W的世界里, >>继续阅读

BestCoder Round #54(Div.2) (4/4) (Div.1) (3/4)

maksyuki 发表于 比赛 分类,标签:
0
BestCoder Round #54(Div.2) (4/4) (Div.1) (3/4)

A problem of sorting

Problem Description

There are many people's name and birth in a list.Your task is to print the name from young to old.(There is no pair of >>继续阅读

HihoCoder挑战赛14(2/4)

maksyuki 发表于 比赛 分类,标签:
0
HihoCoder挑战赛14(2/4)

A 不等式

描述

给定n个关于X的不等式,问最多有多少个成立。

每个不等式为如下的形式之一:

X < C

X <= C

X = C

X > C

X >= C

输入

第一行一个整数n。

以下n行,每行一个不等式。

数据范围:

1<=N<=50,0<=C<=1000

输出

一行一个整数,表示最多可以同时成立的不等式个数。

样例输入

4

X = 1

X = 2

X = 3 >>继续阅读

Codeforces Round #318(Div.2) (4/5) (Div.1) (2/5)

maksyuki 发表于 比赛 分类,标签:
0
Codeforces Round #318(Div.2) (4/5) (Div.1) (2/5)

>>继续阅读

bzoj3224

maksyuki 发表于 oj 分类,标签:
0
bzoj3224

3224: Tyvj 1728 普通平衡树

Description

您需要写一种数据结构(可参考题目标题),来维护一些数,其中需要提供以下操作: >>继续阅读

BestCoder Round #53(Div.2) (2/4) (Div.1) (1/4)

maksyuki 发表于 比赛 分类,标签:
0
BestCoder Round #53(Div.2) (2/4) (Div.1) (1/4)

>>继续阅读

xdu1073

maksyuki 发表于 oj 分类,标签:
0
xdu1073

1073: Nunchakus

题目描述

输入

输出

样例输入

321 131 2 331 1 3

样例输出

>>继续阅读

xdu1036

maksyuki 发表于 oj 分类,标签:
0
xdu1036

1036: 分配宝藏

题目描述

两个寻宝者找到一个宝藏,里面包含着n件物品,每件物品的价值是w[i]。suma代表寻宝者A所获物品的总价值,sumb代表寻宝者B所获物品的总价值, >>继续阅读

xdu1029

maksyuki 发表于 oj 分类,标签:
0
xdu1029

1029: 数一的逆袭

题目描述

数一是一个穷屌丝兼程序猿,是社会受剥削的底层人物,但是他有一个梦想,就是博得女神的欢心。这天,数一的女神说:"一直活在二次元的屌丝啊,一直活在二进制的程序猿啊,你们这群二货快告诉我这堆2是怎么回事?" >>继续阅读