In this problem i got last test case fail.
Pls let me know where i have done mistake.
My code link ==https://ide.codingblocks.com/s/246550
XOR-4 ( 1 test case fail)
i have modified your code check line no 13&14 https://ide.codingblocks.com/s/246723. For numbers >=130 you need to print βYESβ only once but your code was printing it twice so after printing βYESβ end the code using return 0.
Hope i have resolved your doubt so mark it as resolved and rate it.Thanks!