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.me/contest/1336/submission/77683830.↵
↵
Please help someone!Thanks.
Link to my TLE solution:- https://codeforces.me/contest/1336/submission/77683830.↵
↵
Please help someone!Thanks.