Help me in String and Number

This is because of overflow . See the range of values long long int can store

-(2^63) to (2^63)-1

So, any string whose length is greater than 64 can not be stored in dec_value.
You have to store the number in string and then find the mod

now i have done it with unsigned long long int but it has take an oath that it will always show wa

You just take mod at each step, that’s it, if you want i can provide you the solution

1 Like

Yeah, I forgot about that.

1 Like

bhai nhi hua

brother thank you very very much phele kuch aur kar diya tha.

bro have you given ZCO or preparing

i have given zio last yr, but can’t qualify ( though, i know it was the easiest one :joy: , this time zco or both ). I hope so, i would clear it this year…(practicing a lot)

I am also preparing for first and last time for ioi

You mean you are in 12th

yes in which class you are

same bro

bro fir to dono ioi denge

are you also preparaing for iitjee

I left my preparation coz’ of this

but iitjee is big thing

for me, its the reverse