21487_I'llplayatrickonyou

2022-5-16 18:19| 发布者: Hocassian| 查看: 35| 评论: 0|原作者: 肇庆学院ACM合集

摘要:
C:\Users\Administrator\Downloads\2019-10-12-10-14-4-89505318995100-Problem List-采集的数据-后羿采集器.html

Pro.ID

21487

Title

I'll play a trick on you

Title链接

http://10.20.2.8/oj/exercise/problem?problem_id=21487

AC

39

Submit

116

Ratio

33.62%

时间&空间限制

  • Time Limit: 1000/500 MS (Java/Others)     Memory Limit: 65536/65536 K (Java/Others)
  • 描述

    Please look the picture carefully. Then I'll give you two integers and your task is output the third one.

    Please never doubt the picture.

    输入

    The first line is a number T ( 1 ≤ T ≤ 30 ), represents the number of case. The next T blocks follow each indicates a case.

    Each case contains two integers A, B ( 1 ≤ B ≤ A ≤ 10100 )

    输出

    Description

    Please look the picture carefully. Then I'll give you two integers and your task is output the third one.

    Please never doubt the picture.

    Input

    The first line is a number T ( 1 ≤ T ≤ 30 ), represents the number of case. The next T blocks follow each indicates a case.

    Each case contains two integers A, B ( 1 ≤ B ≤ A ≤ 10100 )

    Output

    For each case, output the number of case and the third integer. (as shown in the sample output)

    Sample Input

    3
    99 72
    45 27
    39 18

    Sample Output

    Case 1: 27
    Case 2: 18
    Case 3: 21

    Source

    样例输入

    3
    99 72
    45 27
    39 18

    样例输出

    Case 1: 27
    Case 2: 18
    Case 3: 21

    作者


    路过

    雷人

    握手

    鲜花

    鸡蛋

    最新评论

    返回顶部