Is there any problem in uvalive judge system ?
Link of the problem : https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&category=673&page=show_problem&problem=4995
Same problem in Codechef : https://www.codechef.com/problems/AMR14D
my solution get AC in Codechef . I submited my solution these two different Online Judge but uvalive always giving WA .
Here is my solution : https://paste.ubuntu.com/p/HcQR9Bnf8f/