DGTMAGIC : Code get accepted for natural log i.e. (base e) but not for base 2 and 10?
Can Anyone Explain?
DGTMAGIC : Code get accepted for natural log i.e. (base e) but not for base 2 and 10?
Can Anyone Explain?
There is precision error: computer can’t store all infinite number of digits, so float numbers can be a bit incorrect. All accepted solutions and author’s solution are wrong. Your solution will be AC only if you give the same answer as author. Read more: Problem DGTMAGIC - QFUN2020: incorrect author's solution
Thanks !