HDU1996 汉诺塔VI[入门]

本题实际上是计算3^n。编程中需要注意输出格式。??? 为森么?数学问题搞不清楚辽······ 注意输出格式 #include <iostream> #include <cmath> using namespace std; int main(){ int t,n; cin>>t; while(t--){ cin>>n; printf("%.lf\n", pow(
相关文章
相关标签/搜索