Doubt Regarging std::unique() | AC vs WA

Правка en1, от aneee, 2020-08-03 23:27:53

Problem.

I solved the problem with three pointers. But when I sort the vectors first and the resize, I get an AC. If I sort them after making them unique, I get a WA.

AC Code
WA Code

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский aneee 2020-08-03 23:27:53 1401 Initial revision (published)