Welcome   HUNAN NORMAL UNIVERSITY ACM/ICPC Judge Online
Home
FAQs
Problem Set
Practices
Online Contests
Major Exercises
OI Special
Judgement
Submit
Online Status
User Ranklist
Users
Register new
Login
Web Links
Hunan Normal University
College of Information Science and Engineering
指针数组
Time Limit: 1000ms, Special Time Limit:2500ms, Memory Limit:32768KB
Total submit users: 266, Accepted users: 248
Problem 10480 : No special judgement
Problem description
  用一个字符指针数组存放所有家庭成员的名单,并把它们打印出来。

Input
  第一行是一个整数T,表示有T组数据。每组数据第一行是一个整数n,表示家庭有nn<20)个成员,接下来n行为家庭成员的名单(每个成员名字不超过20个字符)

Output
  对于每一组数据,先输出“Case #:”(#为序号,从1起),换行;然后输出家庭成员的名单,一个名单一行。

Sample Input
2
3
Qu shj
Tan j
Qu yl
2
Liu q
Wang wu
Sample Output
Case 1:
Qu shj
Tan j
Qu yl
Case 2:
Liu q
Wang wu
Submit   Clarifications   Judge Status  Problems  Ranklist 

HUNAN NORMAL UNIVERSITY ACM/ICPC Judge Online, Version 2010.5.5.final.
Web visits:2328 today,16259055 total, since 2010-05-07