#abc346a. A - Adjacent Product
A - Adjacent Product
Score: points
问题陈述
给定 个整数 。同时,定义 。
按照这个顺序打印 ,用空格隔开。
以上为大语言模型 kimi 翻译,仅供参考。
Problem Statement
You are given integers . Also, define .
Print in this order, separated by spaces.
Constraints
- All input values are integers.
Input
The input is given from Standard Input in the following format:
Output
Print in this order, separated by spaces.
Sample Input 1
3
3 4 6
Sample Output 1
12 24
We have $B_1 = A_1 \times A_2 = 12, B_2 = A_2 \times A_3 = 24$.
Sample Input 2
5
22 75 26 45 72
Sample Output 2
1650 1950 1170 3240
update @ 2024/5/16 17:17:37