Codeforces Round 959 (Div. 1 + Div. 2) Discussion | A, B, C, D

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2024
  • Contest link: codeforces.com...

ความคิดเห็น • 3

  • @mohamedtamer9041
    @mohamedtamer9041 20 วันที่ผ่านมา

    your explaination in D is so amazing

  • @hdcutz2936
    @hdcutz2936 2 หลายเดือนก่อน +2

    Hungry sid man your explanation is at god level. But the cycle part i didnt understand much but others are at peak level

    • @manikiran949
      @manikiran949 2 หลายเดือนก่อน

      Before adding a new edge ,we need to check if that edge forms a cycle because , if by adding an edge cycle forms then the nodes that we are trying to connect already has a path between them in some other way, so there this no need to add that edge.
      Hope it's clear