Banner Home Page DIY Contests Problems Ranklist Status Statistics
1034数据再次加强,如果还能水过我不管了……

坑爹的输出格式——Case

Time Limit : 3000/1000ms (Java/Other)   Memory Limit : 65535/32768K (Java/Other)
Total Submission(s) : 103   Accepted Submission(s) : 54

Font: Times New Roman | Verdana | Georgia

Font Size:

Problem Description

在一些题目当中,为了不知道什么目的,非要你输出Case数,即你输出的内容是第几组数据的,格式见此题样例。

计算a+b

Input

输出包含多组数据,请处理到文件结束
每组数据包含两个整数a,b, ( 1 <= a, b <= 10 )

Output

对于每组数据,先输出”Case #k: ”, k表示第k组数据,从1开始
然后输出a+b的值,注意空格位置

Sample Input

1 1
2 2
3 3

Sample Output

Case #1: 2
Case #2: 4
Case #3: 6

Author

916852

Statistic | Submit | Back