U. 2的幂次方
2的幂次方
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.
题目背景
无聊的小北在算
题目描述
假如有 个 相乘, 我们称作 的 次幂.
我们现在想知道, 幂的各个数位之和是多少.
数据格式
输入格式
多组数据
第一行输入一个整数 , 表示有 组数据,
接下来每一行一个整数 .
输出格式
输出 行, 每行一个整数表示幂的各个数位之和.
样例
2
10
15
7
26
数据范围
北辰杯贺岁杯考前模拟赛
- Status
- Done
- Rule
- Ledo
- Problem
- 36
- Start at
- 2025-1-3 18:00
- End at
- 2025-1-20 10:00
- Duration
- 400 hour(s)
- Host
- Partic.
- 111