The answer for n=3000?
Послано
AmBush 5 мар 2003 18:14
What is the answer for n=3000? According to my problem it is:
1112410638837951982681559213420228436655660132143101893639583499479104
8307860224498112075664780555124758923322998295448875554498944133575085
7206969739792707314008867553774340959765426840307082886757146900689409
1769558402678831747586833656908719011631685677289799215417532225045801
3194444896132535792828846054226294650004927200184834052327444607699483
6595280893152817992146653301160115779064762003728308491537220749832979
2557104621996394714041315150395706599135856376433569557036792447902521
76364500701
but i've got WA
HELP!
Re: The answer for n=3000? This is my answer
n=3000
6230944380615661730540866744905062220607354471963766287778397756065940
6962697903814082629320941801101660304581383981489487361062625347661816
5706321659264965023017203487210780255823880970691747085650866739360077
645709393425508719830393155473510779779930751
But I got wa too.
Re: The answer for n=3000? The correct answer according ufx's program
1322070819480806636890455259752144365965422032752148167664920368226828
5973467048995407783138506080619639097776968725823559509545821006189118
6534272525795367402762022519832080387801477422896484127439040011758861
8041128947815623094438061566173054086674490506178125480344405547054397
0388958174653682549161362208302685637785822902284163983078878969185564
0408489893760937324217184635993869
It's just the first half.(+)
13220708194808066368904552597521443659654220327521481676649203682268285973467048
99540778313850608061963909777696872582355950954582100618911865342725257953674027
62022519832080387801477422896484127439040011758861804112894781562309443806156617
30540866744905061781254803444055470543970388958174653682549161362208302685637785
82290228416398307887896918556404084898937609373242171846359938695516765018940588
109060426089671438864102814350385648747165832010614366132173102768902855220001
No this is correct
78269792221766377248792586107312578551454955298456387837931004855964813172193821243390064215949238600077681954053753825948909941306968357700343451652009989159020094600778289423859975436358546313727455317042603649908448160723189846384364576128985442328158891806918309846544996297697505373844135967311576127112637752359444869773878802929985672496258464403635036929317966161945895754817512140406205791563756008285751669647079656658308372789688485874728678798223164136163414900736
Re: The answer for n=3000?
When n=3000 my AC program print:
1322070819480806636890455259752144365965422032752148167664920368226828597346704899540778313850608061963909777696872582355950954582100618911865342725257953674027620225198320803878014774228964841274390400117588618041128947815623094438061566173054086674490506178125480344405547054397038895817465368254916136220830268563778582290228416398307887896918556404084898937609373242171846359938695516765018940588109060426089671438864102814350385648747165832010614366132173102768902855220001
Re: The answer for n=3000?
Because correct is:
1322070819480806636890455259752144365965422032752148167664920368226828597346704899540778313850608061963909777696872582355950954582100618911865342725257953674027620225198320803878014774228964841274390400117588618041128947815623094438061566173054086674490506178125480344405547054397038895817465368254916136220830268563778582290228416398307887896918556404084898937609373242171846359938695516765018940588109060426089671438864102814350385648747165832010614366132173102768902855220001
Re: The answer for n=3000?
it is 3^1000