#661. C++-数据存储与读入-请输入4个正整数a,b,c,n(a,b,c均小于200,n<=6),求a^n+b^n+c^n

C++-数据存储与读入-请输入4个正整数a,b,c,n(a,b,c均小于200,n<=6),求a^n+b^n+c^n

Background

Description

image

Format

Input

Output

Samples

2
3
6
5
8051
100
100
100
6
3000000000000

Limitation

1s, 1024KiB for each test case.