Автор awoo, история, 3 года назад, По-русски

Привет, Codeforces!

В 20.04.2023 17:35 (Московское время) состоится Educational Codeforces Round 147 (Rated for Div. 2).

Продолжается серия образовательных раундов в рамках инициативы Harbour.Space University! Подробности о сотрудничестве Harbour.Space University и Codeforces можно прочитать в посте.

Этот раунд будет рейтинговым для участников с рейтингом менее 2100. Соревнование будет проводиться по немного расширенным правилам ICPC. Штраф за каждую неверную посылку до посылки, являющейся полным решением, равен 10 минутам. После окончания раунда будет период времени длительностью в 12 часов, в течение которого вы можете попробовать взломать абсолютно любое решение (в том числе свое). Причем исходный код будет предоставлен не только для чтения, но и для копирования.

Вам будет предложено 6 или 7 задач на 2 часа. Мы надеемся, что вам они покажутся интересными.

Задачи вместе со мной придумывали и готовили Адилбек adedalic Далабаев, Иван BledDest Андросов и Максим Neon Мещеряков. Также большое спасибо Михаилу MikeMirzayanov Мирзаянову за системы Polygon и Codeforces.

Удачи в раунде! Успешных решений!

Также от наших друзей и партнёров из Harbour.Space есть сообщение для вас:

Harbour.Space

Привет, Codeforces!

Вам интересно узнать о последних достижениях в области искусственного интеллекта и о том, как они влияют на наш мир? Хотите узнать больше о том, как методы на основе ИИ, особенно в обработке естественного языка, совершают революцию в сфере того как мы работаем и взаимодействуем с технологиями?

Space.Talks представляет: Радослав Нейчев, ИИ-энтузиаст, исследователь, специалист по машинному и глубокому обучению.

Радослав, специалист высшего уровня по обработке и анализу данных, обладающий обширным опытом в области методов глубокого обучения и обучения с подкреплением, приедет в наш кампус Harbour.Space в Барселоне, чтобы выступить с докладом на эту тему. Если вы не сможете лично присутствовать, но хотите присоединиться к разговору, то специально для вас будет проведена трансляция в прямом эфире на нашем канале YouTube здесь.

В этом Space.Talk Радослав поделится своим опытом о том, как ИИ меняет нашу повседневную жизнь и почему как техническим, так и нетехническим специалистам важно понимать основы работы ИИ. Кроме того, он также ответит на важные вопросы об исследованиях ИИ и их будущих последствиях.

Отметьте в своем календаре четверг, 20 апреля, в 13 часов (Мск), и присоединяйтесь к нам для захватывающей беседы. Являетесь ли вы опытным техническим экспертом или только начинаете исследовать мир программирования, это выступление для вас!

И помните, что мы всегда ищем лучших и умнейших! Если Вы хотите поучиться у специалистов отрасли, таких как Радослав, ознакомьтесь со стипендиями, которые мы предлагаем, и постройте с нами светлое будущее!

Узнать больше →

UPD: Разбор опубликован

  • Проголосовать: нравится
  • +210
  • Проголосовать: не нравится

»
3 года назад, скрыть # |
 
Проголосовать: нравится -11 Проголосовать: не нравится

Great. Contest are rare lately. Is it because of ICPC on the platform?

»
3 года назад, скрыть # |
 
Проголосовать: нравится +7 Проголосовать: не нравится

As a participant, I will appreciate the work of authors and testers. Thank you for the contest!

»
3 года назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

Thanks for the contest!!. That's my 2nd educational round. Let Go!!

»
3 года назад, скрыть # |
 
Проголосовать: нравится +36 Проголосовать: не нравится

Hope for stable servers.

»
3 года назад, скрыть # |
 
Проголосовать: нравится +21 Проголосовать: не нравится

Feeling like after 1 year I will participate in a CF Contest. These days contests are rare.

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

My first educational round since 3 months ago. Will I be able to solve 4 problems?

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

glhf!

»
3 года назад, скрыть # |
 
Проголосовать: нравится +10 Проголосовать: не нравится

You better not leave the rating like last time.

»
3 года назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

Hoping to learn new techniques and methods regardless of rating changes.

»
3 года назад, скрыть # |
 
Проголосовать: нравится -12 Проголосовать: не нравится

MUDA MUDA MUDA MUDA

»
3 года назад, скрыть # |
 
Проголосовать: нравится +30 Проголосовать: не нравится

I have 192 points to candidate master, hope to get more rating points tonight.

»
3 года назад, скрыть # |
 
Проголосовать: нравится +31 Проголосовать: не нравится

I hope that I can get more ratings this round.

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

If you hack someone you will get points?

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Is the site getting hanged due to DDoS?

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

This is the closest I've been to being an expert XD

»
3 года назад, скрыть # |
Rev. 2  
Проголосовать: нравится +42 Проголосовать: не нравится

Solved A-E. Problem F has simple O(n*m) solution but I don't know how to optimize it.

A: Each '?' provides 10 options except the '?' at the beginning of the string, which provides 9 options. Also the first char of string cannot be '0'.

B: Because a!=a', we can find the minimum index L and maximum index R that a and a' differ at that position. Then the answer must contains [L, R]. To find the longest possible subarray, we need to extend [L, R] to left and right while a' is non-decreasing on this range.

C: Consider for all possible selection of remained character. Let c be the remained char, we can find all maximal blocks without c, and consider them seperately. For each block, let it's size be L, then we need 1+floor(log(L)) to remove it, and the answer depends on the maximum size of blocks.

D: Let r be the furthest cell we move to, and t be the number of segments we used, then the cost is r+2t. If we ignore a segment [l, r](and possibly make t decreased by 1), we will make r be increased by at least r-l+1, so we can assume that only segment with size 1 is ignored. Then for each possible segment which could contain the furthest cell, we calculate the number of 1-size segments before it, and the number of cells we can ignore (which is (sum of size of segments) — k), then we know there are how many segments we can ignore if we stop in this segment.

E: If we always remove the most right valid pair of brackets, we can see that the cost is the sum of depth of each pair of brackets, which means if we let '(' be 1 and ')' be -1, and s[i] be the array of prefix-sum, the cost is sum(str[i]==')')(s[i]) (the sum of prefix-sums at positions of right brackets). Therefore, we can see how to reduce the cost: If we move a right bracket from i to the right of j (j<i), we make s[i] on range [j+1, i-1] be reduced by 1, and changed s[i] to s[j]-1. If we move a left bracket from i to the right of j (j>i), we make s[i] on range [i+1, j] be reduced by 1. Also these moves must remain s[i]>=0 for all i. Therefore, we can consider for every possible i and find the optimal j by range minimum query and binary search, then we solved the problem for k=1. For k>1, I used greedy approach (which means simply solve the k=1 version for k times) and it passed the pretest (however I can't prove it).

»
3 года назад, скрыть # |
Rev. 2  
Проголосовать: нравится +1 Проголосовать: не нравится

What was D ? fully ruin my contest -_-

»
3 года назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

Very good string problem for C. I like it.

»
3 года назад, скрыть # |
 
Проголосовать: нравится +24 Проголосовать: не нравится

F was cool, thanks!

Maybe my solution for problem E is incorrect, but I don't understand why $$$k\leq 5$$$

»
3 года назад, скрыть # |
 
Проголосовать: нравится +2 Проголосовать: не нравится

Misread E for about 20mins(because of my poor English carelessness,I thought I could choose "some brackets"),and tried to solve F by dp with data structures but failed.So I missed a great chance to enter the top 10 in rated contestants.Sad :(

So could someone teach me how to solve F? thx >-<

»
3 года назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

For F, I manage to solve it except for this one part:

How to find the number of m-tuples that add up to n such that at least j numbers is greater than k? Find this for all j from 0 to m.

With this, you can change the question to how many different ways to place the empty space, then depending on the number of regions of empty space > k, you multiply some power of 2. (Fix the tree to always fall left if possible).

  • »
    »
    3 года назад, скрыть # ^ |
     
    Проголосовать: нравится +36 Проголосовать: не нравится

    My solution for problem F:

    We can say that, given $$$n$$$ positions, a subset of $$$m$$$ positions is good if it is possible to assign to each position a subsegment of length $$$k+1$$$ that either starts or ends at this position, and these segments cannot intersect.

    Let $$$l_i$$$ be the number of positions between the $$$i$$$-th and $$$(i+1)$$$-th picked ones; $$$l_0$$$ being the number of positions before the first picked, and $$$l_m$$$ -- the number of positions after the $$$m$$$-th one. Each of the positions may be coded by a number from 012 by the following principle:

    • 0 means that $$$l_i \lt k$$$; it also means that the trees around this segment can only fall in the directions LR.
    • 1 means that $$$k\leq l_i \lt 2k$$$; it also means that the trees around this segment can fall however they will, except RL.
    • 2 means that $$$2k\leq l_i$$$; the two trees can fall wherever.

    Assume that we have the coded sequence $$$c_0\ldots c_m$$$. Then the generating function of the number of total positions occupied can be represented as

    $$$\prod_{i=0}^m P_{c_i}(x),$$$

    where

    $$$P_0(x) = 1 + x + \ldots + x^{k-1} = \frac{1 - x^k}{1 - x},$$$
    $$$P_1(x) = x^k + \ldots + x^{2k-1} = \frac{x^k - x^{2k}}{1 - x},$$$
    $$$P_2(x) = x^{2k} + \ldots = \frac{x^{2k}}{1 - x}.$$$

    Let $y = x^k$. Then for each sequence of codes for the segments we have some polynomial which looks like the product of different $$$(1-y)$$$, $$$(y-y^2)$$$ and $$$y^2$$$'s, divided by $$$(1-x)^m$$$. Let's calculate the sum of these products over all valid codes.

    But what is a valid code? One can see that a code is valid iff between every two 0-s there is at least one 2. Indeed, otherwise, for a sequence, say, 01110, the trees fall like L (0) R (1) ? (1) ? (1) L (0) R. One can see that if we want to define the direction of falling for all trees from left to right, we inevitably end up replacing each ? with R and contradict the last (1).

    Now we can do some dp. We can say that each time we are in one of two states; call them safe and unsafe. A state if safe if we can insert 0 right now and not lose immediately; therefore we start from the safe state.

    We have some transitions:

    • if we append 1 when we are in an unsafe state, we proceed to an unsafe state.
    • if we append 2 when we are in an unsafe state, we proceed to a safe state.
    • if we append 0 when we are in an safe state, we proceed to a unsafe state.
    • if we append 1 or 2 when we are in an safe state, we proceed to a safe state.

    So we can express the transitions by a matrix, and in the end the polynomial is

    $$$[x^{n-m}]\frac{\begin{pmatrix}1 & 0\end{pmatrix}\begin{pmatrix}y - y^2 & y^2 \\ 1 - y & y\end{pmatrix}^{m}\begin{pmatrix}1 \\ y\end{pmatrix}}{(1 - x)^{m+1}}.$$$

    The matrix exponent can be calculated in

    $1$
    $$$O\left(\frac{n}{k}\log\frac{n}{k}\log{m}\right)$$$ as we are only intersted in the first about $$$n/k+1$$$ coefficients, and
    $$$[x^k](1-x)^{-m-1} = (-1)^k\binom{-m-1}{k} = \binom{m+k}{k}.$$$

    It may be not very optimal, did anyone do anything easier?

    • »
      »
      »
      3 года назад, скрыть # ^ |
      Rev. 10  
      Проголосовать: нравится +53 Проголосовать: не нравится

      Assume trees always fall to the left if possible. We look at the spaces the trees can take up after they fall, and then multiply by the number of ways they could have fallen. If a tree has $$$k$$$ spaces before where it falls, then it can only have been at the right endpoint. Therefore, if there are $$$x$$$ trees without $$$k$$$ spaces to the left, and $$$m-k$$$ trees with $$$k$$$ spaces to the left, then there were $$$2^x$$$ ways for the trees to fall. If we let $$$a[x]$$$ be the number of ways that at most $$$x$$$ trees have $$$k$$$ spaces to the left, $$$a[x] = \binom{n-2km+kx}{x,m-x}$$$. Let $$$b[x]$$$ be exactly how many ways the trees fall. We can count $$$b[x]$$$ using PIE with $$$a[x]$$$. $$$b[x] = a[x] - a[x-1]*\binom{m-x+1}{m-x} + a[x-2]*\binom{m-x+2}{m-x} - \ldots$$$. To find $$$\sum b[x]\cdot 2^x$$$, we do some math, and it nicely evaluates to $$$\sum a[x]\cdot 2^x \cdot (-1)^{m-x}$$$, which can be done in $$$O(m)$$$ time. A nicer way of finding the sum with PIE can be done by starting with all cases with $$$x=m$$$, and then subtracting and adding the inside cases until we reach $$$x=0$$$, but the expression is the same.

      Because smax told me to, here's a link to the submission 202891483.

    • »
      »
      »
      3 года назад, скрыть # ^ |
       
      Проголосовать: нравится +10 Проголосовать: не нравится

      Actually the polynomial matrix multiplication result is just simply $$$(2y - y^2)^m$$$ (according to WolframAlpha),thus the complexity would be $$$O(n)$$$.

»
3 года назад, скрыть # |
Rev. 2  
Проголосовать: нравится -21 Проголосовать: не нравится

problem E completely ruins the problemset. 400ish solves wtf.. I have never seen that much solves for E, especially in educational rounds.

  • »
    »
    3 года назад, скрыть # ^ |
     
    Проголосовать: нравится +17 Проголосовать: не нравится

    Why would that be bad?

    I always think it's good when the solve rate for each problem is somewhere between 1/2 and 1/3 of the previous problem. That allows sequences like 10000, 5000, 2500, 1250, 625, 312, 156, or 10000, 3333, 1111, 370, 123, 41, 13. I hate it when there is a hard cliff where for example “everyone” solves the first three problems and “nobody” solves the last three problems.

    This contest was fairly well balanced. Solve ratios between adjacent problems were: 1.5, 1.4, 4.6, 2.4, 14.4. That means that problem F was arguably too hard, but problem E was pretty good.

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

If I pass the system tests, I will become expert today for the first time

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Weak pretests in D

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Could someone help with my submission for D?

202882450

»
3 года назад, скрыть # |
 
Проголосовать: нравится +22 Проголосовать: не нравится

Who is author of problem C and who specifically prepared the samples?

»
3 года назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

E is a nice problem: cost of the brackets can be interpreted as the area under the graph of prefix sum of the sequence :) (1/2 (Area - n/2) to be precise)

»
3 года назад, скрыть # |
 
Проголосовать: нравится +34 Проголосовать: не нравится
Hey CF, I am not chaGPT -_-
»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Problem D:
Getting WA on TestCase 2
Suggest some counter Case. Unable to figure out the mistake.

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

is D just greedily skipping and picking segments T-T

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

https://mirror.codeforces.com/contest/1821/submission/202880565
can any help to find my mistakes or find any anti test. (: its differ on 1215th on test-2.. -_-

»
3 года назад, скрыть # |
Rev. 3  
Проголосовать: нравится 0 Проголосовать: не нравится

Can anyone please give me a counter example for my submission for problem D.

UPD: Aced with Greedy. Thank you everyone for the help. (adityagamer thanks for test case).

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

What's the issue with this more general solution for D that doesn't explicitly use the special len=1 case but should still take it into account?

»
3 года назад, скрыть # |
 
Проголосовать: нравится +2 Проголосовать: не нравится

I liked D, nice problem

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Am I the only one who solved D with sqrt decomposition+ greedy :d I figured there would be an easier solution but sqrt seemed fun :d

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Can someone give me a counter test to this submission for problem D? Thanks in advance.

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Can anyone share a dp solution for D?

»
3 года назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

Can anyone tell me what is wrong with my C https://mirror.codeforces.com/contest/1821/submission/202883081 am using same approach as in editorial and is running fine for every case i can think of

  • »
    »
    3 года назад, скрыть # ^ |
     
    Проголосовать: нравится 0 Проголосовать: не нравится

    You checked only for characters whose count is maximum in the string while it may be possible that for some other character you get the smallest number of steps so instead of checking for those characters only check for all characters from a to z since there are only 26 of them so u shouldn't be worry about time complexity.

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

how to solve C?

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

In problem D, can anyone please explain why the correct output of this case is 22 but not 23?

1
4 10
1 4 9 15
1 6 13 19
»
3 года назад, скрыть # |
 
Проголосовать: нравится +13 Проголосовать: не нравится

Can someone explain why this approach fails for problem D. I am just trying to minimse the number of segments that needs to be taken by removing the segments with lowest differences. Link to submission Thank you in advance.

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится
void solve()
{
    ll n , k , available = 0;
    cin >> n >> k;
    vector<vector<ll>> vt(n+1 , vector<ll>(2));
    for(ll i = 1; i <= n; i++) cin >> vt[i][0];
    for(ll i = 1; i <= n; i++) 
    {
        cin >> vt[i][1];
        available+=(vt[i][1]-vt[i][0]+1);
    }
    sort(vt.begin(), vt.end());

    if(available < k)
    {
        cout << -1 << endl;
        return;
    }

    ll previous = 0 , ans = mx , curr;
    vector<ll> aux(n+1 , 0);
    for(ll i = 1;i<=n;i++) aux[i] = aux[i-1]+(vt[i][1]-vt[i][0]+1);
    for(ll i = 1;i<=n;i++)
    {
        ll idx = upper_bound(aux.begin() , aux.end() , k+previous) - aux.begin();
        if(aux[idx-1] >= k+previous)
        {
            curr = vt[idx-1][1];
            curr += 2*(idx-i);
            ans = min(ans , curr);
        }
        
        if(idx <= n)
        {
            curr = 2*(idx-i+1);
            curr += vt[idx][0] + (k+previous-aux[idx-1]-1);
            ans = min(ans , curr);
        }
        previous = aux[i];
    }

    cout << ans << endl;
}

this is my solution for problem D. Plz somebody explain what is wrong with this approach.

»
3 года назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

Nice contest! You can find the video editorial for Problem A, Problem B, Problem C and Problem D here- here

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Maybe this sounds like a stupid question, but why are div 1 users included in the official standings?

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Can anyone please explain why this code gives RE in GNU C++20 202863602, but AC in Clang++20 202892668.

Later I changed vector<pair<int, int>> v to vector v which stores only differences and it gave AC on GNU too, but I don't see a reason why this would give RE.

»
3 года назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

Can someone pls explain how the expected output for this input is 11?

1
3 4
1 4 6
2 4 7
»
3 года назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

Can someone please prove or hack my solution to problem E which I did in O(n)?

Approach: Find pairing between individual brackets. For example in (()) first bracket is paired with fourth and the second with third. Find this using stack. Simply eliminate the top-k pairs of brackets where pairs are farthest apart. The answer is the cost of the resultant string.

  • »
    »
    3 года назад, скрыть # ^ |
     
    Проголосовать: нравится 0 Проголосовать: не нравится

    can you explain problem E statement ?

    TestCase : ((())()(()())((()))) Answer : 4

    WHY ?

    Honestly, authors should give at least good test case with proper explanation.

    • »
      »
      »
      3 года назад, скрыть # ^ |
      Rev. 2  
      Проголосовать: нравится +1 Проголосовать: не нравится

      The cost for any rbs is the minimum cost to make it empty. So, the optimal way is to repeatedly remove the rightmost adjacent parentheses pair until we remove all pairs greedily since this gives the minimum cost. Now, before calculating the cost for the given string, we are allowed to perform k operations as mentioned in the problem statement. After a single operation, you can place a bracket adjacent to it's respective partner such that it can be removed easily. This is how I interpreted it

»
3 года назад, скрыть # |
 
Проголосовать: нравится +13 Проголосовать: не нравится

What's up with the server?

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Can someone explain to me why greedy with min-priority-queue works for problem D? Having a hard time grasping it.

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Can anybody tell what's wrong with my code and on which testcase it is failing. https://mirror.codeforces.com/contest/1821/submission/202836388

»
3 года назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

for problem b

14

3 4 2 1 4 5 2 1 8 7 6 5 4 3

1 2 3 4 4 5 2 1 3 4 5 6 7 8

the output is 1 14 it should be 8 14 right I am unable to understand the question can someone please help

»
3 года назад, скрыть # |
 
Проголосовать: нравится +49 Проголосовать: не нравится

Registed 6 years ago, and become master finally. And still huge gap to grandmaster. Cheer for myself.

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Can someone help me with C, I am getting TLE in test case 8. My submission

»
3 года назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

During the contest I got AC for this code: https://mirror.codeforces.com/contest/1821/submission/202855933

While not optimised, I believed that it was sufficient to pass the time limits (I had ~700ms runtime), so I did not optimise it further.

After the contest it got TLE due to high constant factor of using set()

I changed the code and now it works: https://mirror.codeforces.com/contest/1821/submission/202930258

It is pretty unfortunate as I really thought that my original solution was optimised enough for the testcases, how could I tell if I should always optimise my code beforehand? Should I always optimise my code even if it passes the pre-tests?

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

thank you

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Does E problem's "extract" mean for one time I can take a pair of matching braclets "(......)" ? If take ONE braclet each time how can I pass the example?

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

can we use DP to solve D.

code
»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

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

»
3 года назад, скрыть # |
 
Проголосовать: нравится +8 Проголосовать: не нравится

Why hasn't the tutorial been released yet?

»
3 года назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

Wondering solution of D by using binary search

»
3 года назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

hey in E why k is only till 5 is it too confuse us? or make implementation easier?