Plz explain how the output is 23
hi @supratik260699 see the sample test cases on SPOJ https://www.spoj.com/problems/BALIFE/ to get a better understanding.
hi @supratik260699 see the sample test cases on SPOJ https://www.spoj.com/problems/BALIFE/ to get a better understanding.