1303: sum of power

内存限制:64 MB 时间限制:1.000 S
评测方式:文本比较 命题人:
提交:154 解决:62

题目描述

Calculatemod (1000000000+7)for givennm.

输入

Input contains two integersn,m(1n1000,0m10).

输出

Output the answer in a single line.

样例输入复制

10 0

样例输出复制

10
Baidu
map