amartya110's blog

By amartya110, 5 months ago, In English

We want to thank you all for participating in the contest, and hope you enjoyed it. Any feedback would be appreciated!

CodeHurdle Athlos 06

697296A - The Square-Free Trap

Writer: amartya110

Hint
Editorial
Solution
Problem Feedback

697296B - The Ancient Beacons

Writer: _ronak_

Hint
Editorial
Solution
Problem Feedback

697296C1 - Vanguard's Perimeter (Easy Version)

Writer: amartya110

Hint
Editorial
Solution
Problem Feedback

697296C2 - Vanguard's Perimeter (Hard Version)

Writer: amartya110

Hint
Editorial
Solution
Problem Feedback

697296D - Royal Highway Passes

Writer: mahesh_9996

Hint
Editorial
Solution
Problem Feedback

697296E - Relocating the Headquarters

Writer: mahesh_9996

Hint
Editorial
Solution
Problem Feedback

697296F - The Shinigami's Ledger (Abyssal Edition v2)

Writer: Ajay_2705

Editorial
Solution
Problem Feedback

697296G - The Harmonic Subsequence Path

Writer: MehulGupta19

Editorial
Solution
Problem Feedback

standings

Results will be published soon!

  • Vote: I like it
  • +11
  • Vote: I do not like it

»
5 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Nice Contest...Loved the problems, especially the C2 problem

»
5 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

For problem G.

N = 3 K = 19

4, 6, 18.

Here LCM(4,18) is 36 What would be the answer for this array , is it 2 or 3.

  • »
    »
    5 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    The output will be 3 1

    Here, the pairs are (4,6) and (6, 18)

    • »
      »
      »
      5 months ago, hide # ^ |
      ← Rev. 5  
      Vote: I like it 0 Vote: I do not like it

      But (4,18) violates this.
      If i remember correctly, the problem statement says (x,y) as x choosen before y, it doesn't clearly specify that x,y are adjacent

      UPD: my bad, misunderstood problem statement, choosing sequential 2 elements x,y meant choosing adjacent objects.