antontrygubO_o's blog

By antontrygubO_o, 8 days ago, In English

We invite you to participate in CodeChef’s May Lunchtime, this Sunday, 15th May, rated for all.

Time: 8:00 PM — 11:00 PM IST

Joining me on the problem setting panel are:

Also, announcing Scholarship for CodeChef Certification in Data Structure & Algorithms — More than 100 Indian participants in Divisions 1, 2, and 3 will win scholarships for the CodeChef Certification exam (discounted prices). Scholarship criteria can be found on the respective contest pages.

The video editorials of the problems will be available on our YouTube channel as soon as the contest ends. Subscribe to get notifications about our new editorials.

Also, if you have some original and engaging problem ideas, and you’re interested in them being used in CodeChef's contests, you can share them here.

Hope to see you participating. Good Luck!

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

»
7 days ago, # |
  Vote: I like it +1 Vote: I do not like it

Reminder: Contest starts in 30 minutes.

»
7 days ago, # |
  Vote: I like it 0 Vote: I do not like it

Are the amazon gift vouchers still there?

  • »
    »
    7 days ago, # ^ |
      Vote: I like it -17 Vote: I do not like it

    Nope

    • »
      »
      »
      7 days ago, # ^ |
        Vote: I like it -14 Vote: I do not like it

      When can we expect them to come back? They were a good incentive to practice.

      • »
        »
        »
        »
        7 days ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        Sorry, it won't be back in the near-future. We don't have any concrete plans on when we might re-introduce them.

    • »
      »
      »
      7 days ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      They have been removed even for div 1?

»
7 days ago, # |
Rev. 2   Vote: I like it +62 Vote: I do not like it

What is the mathematical jugglery behind PWMUL?

»
7 days ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

anyone explain pls how to solve "Equal After And" task ?

  • »
    »
    7 days ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    Here it is Editorial.

    • »
      »
      »
      7 days ago, # ^ |
      Rev. 2   Vote: I like it 0 Vote: I do not like it

      s=A1&A2&A3&A4......&An

      i dont understand why we need to make all element equal to s? any proof?

      • »
        »
        »
        »
        7 days ago, # ^ |
        Rev. 7   Vote: I like it 0 Vote: I do not like it

        Let's say if array is partitioned into $$$k$$$ parts,where each part contribute to each number in the final array, and bitwise AND of each part is $$$a$$$ (values in the final array). Bitwise AND of the whole (original) array is basically the bitwise and of all $$$k$$$ final numbers, which is $$$a$$$($$$a$$$ & $$$a$$$ $$$=$$$ $$$a$$$). So that is why we have to make all elements equal to $$$s$$$.

»
7 days ago, # |
  Vote: I like it +16 Vote: I do not like it

Is there any particular reason that some submissions run faster in C++14 compared to C++17 on the judge ?