Codeforces и Polygon могут быть недоступны в период с 6 декабря, 22:00 (МСК) по 7 декабря, 00:00 (МСК) в связи с проведением технических работ. ×

Unexpected Time Limit !!

Правка en1, от ShaFeiii, 2024-12-03 02:55:59

When I tried to upsolve this problem 706B - Interesting drink https://codeforces.me/contest/706/problem/B I faced an undefined time limit!!

In my first approach, I solved it using a multiset and upperbound 294508423 https://codeforces.me/contest/706/submission/294508423 I got time limit on test 11

then, tried to solve with vector and sorting, which got accepted 294508512 https://codeforces.me/contest/706/submission/294508512

Can anyone help me understand what the issue was?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский ShaFeiii 2024-12-03 02:56:20 158
en1 Английский ShaFeiii 2024-12-03 02:55:59 537 Initial revision (published)