I new to this community.So,I am not getting why I am getting TLE on test 4 of Codeforces problem Xenia and Colorful Gems. Link to my TLE solution:-https://codeforces.com/contest/1336/submission/77683830.
Please help someone!Thanks.
Help on Codeforces problem Xenia and Colorful Gems
I new to this community.So,I am not getting why I am getting TLE on test 4 of Codeforces problem Xenia and Colorful Gems. Link to my TLE solution:-https://codeforces.com/contest/1336/submission/77683830.
Please help someone!Thanks.