Our good friend Mole is trying to code a big message. He is typing on an unusual keyboard with characters arranged in following way:
qwertyuiop
asdfghjkl;
zxcvbnm,./
Unfortunately Mole is blind, ...
分类:
其他好文 时间:
2014-10-10 02:36:33
阅读次数:
315
链接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4582
题意:有n门课程,每个课程有个开始时间和结束时间,和参加人数,现要租借教室来上课。再告诉你一个矩阵,a[i][j]表示第j门课如果在第i门课后使用第i门课的教室,需要a[i][...
分类:
其他好文 时间:
2014-09-17 02:24:11
阅读次数:
268
找规律
S+1 = S +'L'+~rev(S)
Problem D
Decoding the Hallway
Problem D
Edward is now 21 years old. He has to appear in an exam to renew his State Alchemist
title. This year the exam is arranged ...
分类:
其他好文 时间:
2014-08-25 02:19:33
阅读次数:
219
Description
Hackerland is a happy democratic country with m×n cities, arranged in a rectangular
m by n grid and connected by
m roads in the east-west direction and
n roads in the north-south di...
分类:
其他好文 时间:
2014-08-20 22:45:43
阅读次数:
425
DescriptionThe kids in my son's kindergarten made Christmas cookies with their teacher, and piled them up in columns. They then arranged the columns s...
分类:
其他好文 时间:
2014-08-20 12:15:22
阅读次数:
158
Description
Problem F: Tug of War
A tug of war is to be arranged at the local office picnic. For the tug of war, the picnickers must be divided into two teams. Each person must be on one tea...
分类:
其他好文 时间:
2014-08-09 21:37:09
阅读次数:
367
3882 - And Then There Was One
Time limit: 3.000 seconds
Let's play a stone removing game.
Initially, n stones are arranged on a circle and numbered
1,..., n clockwise (Figure 1). You are also...
分类:
其他好文 时间:
2014-07-09 10:00:13
阅读次数:
172
Tug of WarTime Limit:3000MSMemory Limit:65536KTotal Submissions:8187Accepted:2204DescriptionA tug of war is to be arranged at the local office picnic....
分类:
其他好文 时间:
2014-07-08 23:02:23
阅读次数:
268
题目描述N integers are arranged on a circle clockwise.
Given two integers M and K. For each position, you should take M continuous
integers on the left an...
分类:
其他好文 时间:
2014-05-09 10:30:49
阅读次数:
350