标签:
Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 2523 Accepted Submission(s):
1219
#include<stdio.h> #include<string.h> int main() { long long m,n; scanf("%lld",&n); while(n--) { scanf("%lld",&m); printf("%lld %lld\n",m*m*m,(m+1)*(m+1)*(m+1)); } return 0; }
标签:
原文地址:http://www.cnblogs.com/tonghao/p/4579378.html