Length constraint for input string A is misleading. |A| can't be 100


#1

For A==100 we will have the maximum possible column number for ZZZZZ…(100 times)
This will be of the order of 10^(102), which is impossible to fit in any memory in the world

Use an integer for your answer without worrying about this. Solution will be accepted


#2

I also had the same question |
if constraint is 1 <= |A| <= 100, how can the return type of ans is integer, that too they have not asked to apply modulus also.