I’m failing the last testcase Big Numbers and Letters. I get this:
ADVBKCFT JOB YOUR PROGRAM K HAN... S K 6722172310625687000 FDSMVZLW O EKCCUIZY 660283592480108500
EXCELLENT JOB YOUR PROGRAM APPR...AUXYQPNBIOUICV AMONXAOSYKNZYN ADDDNUVLXFAKRX 660283592480108544
I first thought it was because the numbers get too big to handle for int ?
For example this custom test case fails (it is the first number from inputs):
The default code shows you how to print to the error stream. You may follow that syntax to add some code to output the values of the variables at various points of code execution for debugging. This will help you identify where the variables are not calculated as per your expectation.