|
|
|
|
|
|
|
|
I do need to note, that this program likely won't run. Even if you were to use the highest possible precision for your variables (unsigned long long int), you can still only reach values of 2^64. Your solution would be much more than that. Perhaps, someone here has a solution to this limitation? |
|
|
print( 2 * 3**62 )
Please Last Question How I Can Solve same This Problem In future ?? Should I learning Algorithm Or What I Should Learning ?? |
|
|
Your code produces the wrong answer. Take note what @anachronon wrote |
Really, my derivation was just basic Algebra. |