xtulollipop

物质都是数据,规则都是代码。这世间有万千代码,万物都可编译。 Talk is cheap,show me the code。...

poj 1321棋盘问题

Description 在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。 Input 输入含有多组测试数据。  每组数据的第一行是...

2015-05-13 14:14:56

阅读数 216

评论数 0

poj 2078 Matrix

Description Given an n*n matrix A, whose entries Ai,j are integer numbers ( 0 You can do the SHIFT operation at arbitrary row, and as many t...

2015-05-13 14:10:56

阅读数 643

评论数 0

poj 1731 Orders

Description The stores manager has sorted all kinds of goods in an alphabetical order of their labels. All the kinds having labels starting with t...

2015-05-13 14:05:13

阅读数 264

评论数 0

poj 3187 Backward Digit Sums

Description FJ and his cows enjoy playing a mental game. They write down the numbers from 1 to N (1 <= N <= 10) in a certain order and then ...

2015-05-13 13:57:21

阅读数 284

评论数 0

杭电1045 Fire Net

Fire Net Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 7331    Accepted Submission(s): 4...

2015-05-13 13:51:18

阅读数 327

评论数 0

杭电1455 SticksSticks

Sticks Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 7223    Accepted Submission(s): 211...

2015-05-13 13:31:53

阅读数 382

评论数 0

提示
确定要删除当前文章?
取消 删除