Even though I have written the similar code as mentioned in the solution IDE is not accepting it


#1


#2

i am facing same problem


#3

try multiplying with 2LL instead of 2


#4

i am facing the same problem, why and where to put 2LL