antontrygubO_o's blog

By antontrygubO_o, 2 years 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

| Write comment?
»
2 years ago, # |
  Vote: I like it +1 Vote: I do not like it

Reminder: Contest starts in 30 minutes.

»
2 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Are the amazon gift vouchers still there?

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

What is the mathematical jugglery behind PWMUL?

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

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

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

    Here it is Editorial.

    • »
      »
      »
      2 years 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?

      • »
        »
        »
        »
        2 years 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$$$.

»
2 years 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 ?