摘要:
Description 在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。 Description 在一个给定形状的棋盘(形状可能是不规则的)上面摆放 阅读全文
摘要:
Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From 阅读全文
摘要:
Description lily的好朋友xiaoou333最近很空,他想了一件没有什么意义的事情,就是统计一篇文章里不同单词的总数。下面你的任务是帮助xiaoou333解决这个问题。 Description lily的好朋友xiaoou333最近很空,他想了一件没有什么意义的事情,就是统计一篇文章里 阅读全文
摘要:
Description 给你两个集合,要求{A} + {B}. 注:同一个集合中不会有两个相同的元素. Description 给你两个集合,要求{A} + {B}. 注:同一个集合中不会有两个相同的元素. 给你两个集合,要求{A} + {B}. 注:同一个集合中不会有两个相同的元素. Input 阅读全文
摘要:
Description Contest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is guessing the 阅读全文
摘要:
Description Businesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable word or 阅读全文
摘要:
Description A queue is a data structure based on the principle of 'First In First Out' (FIFO). There are two ends; one end can be used only to insert 阅读全文
摘要:
Standard web browsers contain features to move backward and forward among the pages recently visited. One way to implement these features is to use tw 阅读全文
摘要:
Description Rock-Paper-Scissors is game for two players, A and B, who each choose, independently of the other, one of rock, paper, or scissors. A play 阅读全文
摘要:
Description Julius Caesar lived in a time of danger and intrigue. The hardest situation Caesar ever faced was keeping himself alive. In order for him 阅读全文