Type: Default 1000ms 256MiB

【例32.3】 数位积

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

給出一个非负整数nn,请求出nn中各个数位上的数字之积。

输入格式

一开始有一个整数 TT(1T1001≤T≤100),表示共有几组测试数据。接下来有TT个整数nn(0n<21474836480≤n<2147483648)。

输出格式

输出数位数字乘积的结果。

样例

3
356
123
9999
90
6
6561

GESP二级【重点编程题】

Not Claimed
Status
Done
Problem
13
Open Since
2025-3-21 0:00
Deadline
2025-3-28 23:59
Extension
24 hour(s)