Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Time Exceeded. And the exit code of your program is -9, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
73937565701173502150803299045590545370612074530010415001133030121146014508015141101710301827880199560202048022358602344902530610263986028379702956203047710335240342191035434103645890372320383037039219804018970422591044182104543060471677048165605124905229105321360554700056451405813280593888061286506232550633136064373506521906643740693228071183407235740734250075103907738980794601081452208327890843817085479008610990871369088148308937130904065092267009334709435409535670962533097287809832010132440102423101035170104337701054630010625090107184101082884010943720113-4110116132201171800011846420119434501203740012138030122362201231759012438500125120126172401273987012826501308120131196201323658013335820135261701368040137108101382910014045630141664014231590143-33010144107014624220148711015050501511388015245590153193801542341015720310158252201592514016033480161399501624365016347580164152901671750169210017035600171779017430070175134601764769017980001804200182349901831250018573001868701874702018911900190354701952627019625980
JOJ Answer
Invalid graph. Exiting.