Responsive image

Problem 1300 --整数幂

1300: 整数幂

Time Limit: 1 Sec  Memory Limit: 30 MB
Submit: 1765  Solved: 897
[Submit][Status][Web Board][Creator:]

Description

输入3个整数,输出它们的1次幂、2次幂和3次幂。

Input

输入3整数,用空格隔开

Output

输出3行,每行3个整数,分别是它们的1次幂、2次幂和3次幂,每个整数占9列,不足9列左对齐

Sample Input

1 5 100

Sample Output

1        1        1        
5        25       125      
100      10000    1000000  

Source

 

[Submit][Status]
ACM算法攻关部
  • Anything about this OnlineJudge, Please Contact Administrator. Click add QQ

    OJ system based on HUSTOJ Project , UI based on Twitter Bootstrap

    Copyright 2016 ACM算法攻关部
    关于网站改版