ankushgarg_04's blog

By ankushgarg_04, history, 18 months ago, In English

Hello Codeforces!!!

AlgoManiaX, the competitive programming club of BITS Goa, is happy to invite you to participate in CodeJam Quark'23 — Preliminary Round, which will be held on Sunday, February 26, 2023 at 21:00 (IST).

Image

The contest will be hosted on CodeChef. You will be given 6 problems and 2 hours to solve them.

We thank CodeChef for providing us the platform to host our contest. We would also like to thank the problem setting panel:

About CodeJam Quark'23

CodeJam is a part of Quark'23, the technical fest of BITS Goa. If you are an Indian school/college student, we will hold an onsite round of CodeJam Finals from 24 to 26 March, 2023. There will be two other onsite events:

  • CodeWars — Intense 1v1 Competitive Programming Duels for top 32 participants of this round.
  • Fool's Coding Contest — An event bringing out the comic side of you while testing your logic and coding skills.

There are prizes worth INR 1,00,000 for the top participants of each of the three competitions.

See you on the standings (and also at BITS Goa). Good Luck!!!

UPD: Thank you for participating! We'll invite the top participants to BITS Goa for the onsite finals. Meanwhile, you can fill the feedback for our problems :)

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

| Write comment?
»
18 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Are there any prizes for the online round toppers?

»
18 months ago, # |
  Vote: I like it -6 Vote: I do not like it

![ ](Whats-App-Image-2023-02-26-at-18-35-07)

»
18 months ago, # |
  Vote: I like it +8 Vote: I do not like it

How many people will qualify for the finals?

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

Ok how to solve Let's Race?

I tried something like meet in the middle, precompute path products with corresp minimum sums for some top left, and for remaining bottom right, and then tried to combine the 2; not sure if it's the right approach (there was a CF problem with same logic).

Also, answer does not exist always right? What do we return then?
2 2 3
1 2
3 4

  • »
    »
    18 months ago, # ^ |
      Vote: I like it +1 Vote: I do not like it

    Your approach looks correct. We forgot to mention that the given test cases were generated in such a way that at least 1 valid path exists. Sorry for any inconvenience caused.

    • »
      »
      »
      18 months ago, # ^ |
      Rev. 2   Vote: I like it +9 Vote: I do not like it

      Nvm.

      Potato me forgot n!=m and made a mess. Cool problems though!

  • »
    »
    18 months ago, # ^ |
      Vote: I like it +13 Vote: I do not like it
»
18 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Why my code is failing on que no. 2 Average Chef

Code
  • »
    »
    18 months ago, # ^ |
      Vote: I like it +3 Vote: I do not like it

    your code prints negative values for the following test case

    1 99998 49999

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

ankushgarg_04 when can we make practice submissions to the contest ?

»
18 months ago, # |
  Vote: I like it +17 Vote: I do not like it

Will you guys be sponsoring the travel/accommodation for the onsite participants?

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

Great questions. Had a fun time solving them.

The only issue was that I had asked a question on "Lets Race!" about what to output if no path exists, it was not answered :(