Dontony's blog

By Dontony, history, 5 years ago, In English

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.

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Dontony (previous revision, new revision, compare).

»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Use s.lower_bound(Val)