/Big_Factorial

Calculate the big number's factorial. The project also can solve the polynomial's base arithmetic.

Primary LanguageC++

Big_Factorial

Calculate the big number's factorial. The project also can solve the polynomial's base arithmetic.

[root@host-9799 big_factorial]# ./arry_factorial 2017 The 2017 number's factorial is: 3755962099892769305580470031003877262444622261821998598896748353570334290778683058655041245133739071033423 888052692282593766236008591036763173313017204884207309734568073294590279279333260282983184588134260707883777069547184747402864557063451309 097273971797982128793791520959375585055939023980337799461525132722717432775538249024911162021768217387816216236879717533761374536940865859 363503547372154539420978884282095093373040608301267499477612198913315673382740474472674804498519890631842753192758853684372789292294735517 961960210269078225013910150597854020341405210730105174682294782630482978665335163361060252333129251614452437496226868759462265182521689504 115706152355290399484038923093330219274848822568332777079060101314488372954183390158653752347081168905530743509684606434692149938159351732 559102538994286470190723590932573412225289574712643614138288024011530764460555525479572605817443273494488574751336709241120784528992099348 484041216983311485917248167538273958563306007550539841682482663789999239305262455080327772644079304138660845695381851844140249662685943074 509780162477060145831025757793095518908093085296132538716505567063617202209205668028677774412844988050517255003892072370205568653348971471 332179835024993996560143689551367494495216824108257549581136751559509633043227104635389520541180419935075955243057280749105378031717596278 973217675289042224938126174747155876536297951857685803828638150069179763788086258747964194334506208972627805114806670726156828937572463616 531696375438414347236244009149892864773556998239381460714250783648979911378389209206300865121395031383297244358035934041419363746147801507 754842673574266861123919874058518893713345098250692684212634679396523419938828352896107801517333084650268473430240859341063190916472799809 891798698092143121110782650070886255264414152423966714557707137817375277134719346400977053183099981415219948857571418592841872036007979280 176175700675709749024292302077055671781801390915607188572331940764877692052001056593989224881327510585649904615014314766505216447864818744 772137917074664792993632914543522259410666664955227533107024043967307416709998012264463764028441710077424844518285337473319793314679346898 350863472167397214685129713986167886107776848125366954422153876487409900316669628692816469961034806588845989124165877212343023850048589739 746848987787268992176740357326750376514837746632745419686131427396911380502024334302559504287553691301207869386965312503907587765145396293 925772138631855643998997148067516979910331596800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Run times are 0.07s.