Strange TL

Revision ru1, by tfr, 2020-05-28 20:36:00

I got TL12 1352E - Special Elements 81381374, but after changing set to unordered_set 81381997 I got AC, but the first version got TL on test, where the set(and unordered_set) stays empty(because maximum is 1 and P[i + 2] = P[i] + 2 in that test). I thought this was happening because of the organization of set, but version, where i only create set and don't use it at all passed tests 81382268. How can this be explained?

Tags time limit

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English tfr 2020-05-28 20:37:44 463 Initial revision for English translation
ru1 Russian tfr 2020-05-28 20:36:00 463 Первая редакция (опубликовано)