digits 2
震惊了==
我还交的表,发现直接输出n个n就行===
#include<bits/stdc++.h> using namespace std; string s[101]={ "1", "2", "3", "4", "5", "6", "7", "8", "9", "640", "704", "48", "832", "114688", "960", "68719476736", "1088", "288", "9961472", "81920", "5376", "738197504", "94208", "24576", "6553600", "106496", "27648", "114688", "118784", "1966080", "126976", "68719476736", "2162688", "570425344", "587202560", "589824", "79456894976", "9961472", "638976", "671088640", "44023414784", "176160768", "5909874999296", "738197504", "188743680", "771751936", "788529152", "51539607552", "52613349376", "219902325555200", "3504693313536", "3573412790272", "889192448", "905969664", "3779571220480", "246290604621824", "62672162783232", "2243766321204751748254662656", "989855744", "257698037760", "1531612823434350106375932619262670605528974728449224421146624", "66571993088", "270582939648", "68719476736", "1632046451200536998597305250033993268186612415560648973352960", "4535485464576", "10616573776911421237534889345024", "299067162755072", "4741643894784", "307863255777280", "4879082848256", "2533274790395904", "11567311727082593288657416749056", "79456894976", "1351079888211148800", "202042655359307212681378673162612375552", "1387108685230112768", "85761906966528", "1423137482249076736", "22517998136852480", "712483534798848", "6050532056176732930048", "1495195076287004672", "94575592174780416", "3530761863803682787400737503869665280", "5909874999296", "25076042725198921728", "1585267068834414592", "1603281467343896576", "3166593487994880", "104915856919223074816", "25895697857380352", "109795020726719251218432", "1693353459891306496", "7009762748009629614080", "1770887431076116955136", "1747396655419752448", "16673835979125984709705355764156642361344", "233757140902047438077952", "30223145490365729367654400" }; int main() { int t,n; scanf("%d",&t); while(t--){ scanf("%d",&n); cout<<s[n-1]<<'\n'; } }