购物车支持批量下载,但服务器资源有限,一次不要下载过多题目,可能会导致页面崩溃下载内容为空,重复下载不重复计费。
下载前看清题目标注的数据规模。小于20k可能没有足够的测试数据,需要自行补充。自行充值后请联系QQ:10982766提供用户名和支付单号进行补单, 手工充值。
如果题目有问题、数据不能下载,也请联系我,对于修补题面有帮助的反馈,将会以账户充值的方式进行奖励。经费不足的老师同学请先看 免费专区
你知道吗? 在github用同名用户给
HUSTOJ项目加星,就能获得账户自动
回赠10元。
Problem 3831 --Dinner3831: Dinner
Time Limit: 1 Sec Memory Limit: 128 MB
Submit: 5 Solved: 3
[Submit][Status][下载FPS(含题目、数据、答案)0元][添加到购物车][仅下载测试数据0元][2组]Description
Little A is one member of ACM team. He had just won the gold in World Final. To celebrate, he decided to invite all to have one meal. As bowl, knife and other tableware is not enough in the kitchen, Little A goes to take backup tableware in warehouse. There are many boxes in warehouse, one box contains only one thing, and each box is marked by the name of things inside it. For example, if "basketball" is written on the box, which means the box contains only basketball. With these marks, Little A wants to find out the tableware easily. So, the problem for you is to help him, find out all the tableware from all boxes in the warehouse.
Input
There are many test cases. Each case contains one line, and one integer N at the first, N indicates that there are N boxes in the warehouse. Then N strings follow, each string is one name written on the box.
Output
For each test of the input, output all the name of tableware.
Sample Input
3 basketball fork chopsticks
2 bowl letter
Sample Output
fork chopsticks
bowl
HINT
Source
[Submit][Status]