MAXNUM3 ATTEMPT : This is my attempt at MAXNUM3 from this lunchtime. I am getting WA in both the cases. Can Anyone please tell me where I am making a mistake? Thanks
N is very huge, 10^5 digits, you can’t store it in long long. Need to use strings.
Thanks, I just read that n is no. of digits . I got confused with A and n… My Bad