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: 303, Accepted users: 271
Problem 10478 : No special judgement
Problem description
  将字符串b连接在字符串a的后面,不要用strcat函数。

Input
  第一行是一个整数T,表示有T组数据。每组数据二行,第一行为字符串a, 第二行为字符串b。两组数据间空一行,假定字符串长度不超过100。

Output
  对于每一组数据,先输出“Case #:”(#为序号,从1起),换行;然后输出连接之后的字符串a

Sample Input
2
How do
 you do!
 
ab,cd345!.,/
abcdefghijklmnopqrstuvwxyz
Sample Output
Case 1:
How do you do!
Case 2:
ab,cd345!.,/abcdefghijklmnopqrstuvwxyz
Submit   Clarifications   Judge Status  Problems  Ranklist 

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