#abc232a. A - QQ solver

A - QQ solver

Score : 100100 points

问题描述

给定一个由数字和字符组成的3字符字符串 SS,其格式为 axb,其中整数 aabb 均在 1199(包括两端点)的范围内,并按此顺序连接。

请计算 aabb 的乘积。

以上为通义千问 qwen-max 翻译,仅供参考。

Problem Statement

You are given a 33-character string SS, which is a concatenation of integers aa and bb between 11 and 99 (inclusive) and the character x in this order: axb.

Find the product of aa and bb.

Constraints

  • The length of SS is 33.
  • The 11-st and 33-rd characters are digits between 11 and 99 (inclusive).
  • The 22-nd character is x.

Input

Input is given from Standard Input in the following format:

SS

Output

Print the answer.

Sample Input 1

3x7

Sample Output 1

21

We have 3×7=213 \times 7 = 21, which should be printed.

Sample Input 2

9x9

Sample Output 2

81

Sample Input 3

1x1

Sample Output 3

1

update @ 2024/3/10 10:05:49