Codeforces Round 979 Div 2 | 2030 C | A TRUE Battle | Solution in C++

Поділитися
Вставка
  • Опубліковано 16 січ 2025

КОМЕНТАРІ • 4

  • @TarunSantani
    @TarunSantani 2 місяці тому

    If string is 00001
    Then alice can't put 'or' at last as it's Bob's chance

    • @shekhargupta125
      @shekhargupta125  2 місяці тому

      First is Alice chance so she will put or at position which is before 1 which will make answer as yes and in code also cnt==1 condition will be satisfied at last iteration of loop which will make answer as yes.

  • @OsmanGani-b6j
    @OsmanGani-b6j 2 місяці тому

    bro voice not clear