Help on Codeforces problem Xenia and Colorful Gems

Revision en2, by Dontony, 2020-04-22 21:20:56

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.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Dontony 2020-04-22 21:20:56 1 Tiny change: 'solution:-https://co' -> 'solution:- https://co'
en1 English Dontony 2020-04-22 21:20:25 285 Initial revision (published)