Блог пользователя yash_daga

Автор yash_daga, история, 4 недели назад, По-английски

We invite you to participate in CodeChef’s Starters134, this Wednesday, 15th May, rated for till 6-Stars(ie. for users with rating < 2500).

Time: 8:00 PM — 10:00 PM IST

One of the problems of this contest was also used in Code Mania Blitz, ancc IITD contest, so if you participated in that contest, please refrain from participating.

Joining us on the problem setting panel are:

Note: Some problems have subtasks

Written editorials will be available for all on discuss.codechef.com. Pro users can find the editorials directly on the problem pages after the contest. The video editorials of the problems will be available only to Pro users.

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!

  • Проголосовать: нравится
  • +63
  • Проголосовать: не нравится

»
4 недели назад, # |
  Проголосовать: нравится -8 Проголосовать: не нравится

C++23 when

»
4 недели назад, # |
  Проголосовать: нравится +18 Проголосовать: не нравится

How on earth have so many people solved COUNTRBS? My solution is to notice that at most one good RBS starts at each position (namely, it ends at the next occurrence of the same prefix sum if all prefix sums in between are greater) and hash all O(n) substrings, but I think the observation part is too hard for most 5* coders.

  • »
    »
    4 недели назад, # ^ |
      Проголосовать: нравится +3 Проголосовать: не нравится

    I think it's scoreboard effect and the fact that you don't need to think about prefix sums. Simply find matching brackets in the string (as the string itself is a regular bracket sequence), and use your favourite way to compare two substrings.

»
4 недели назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится
why WA in 3in1out
»
4 недели назад, # |
  Проголосовать: нравится +5 Проголосовать: не нравится

Boring Contest ever

»
4 недели назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Very bad contest, question were some variation of standard problems. ( div2B or div2C)

Also there is issue with cc contest timer, i had 7 minutes remaining acc. to timer but when i submit my code it displayed time over.

this happend multiple times, resulting in me losing rank.

please fix it :(

»
4 недели назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

why there is only one sample case. If you are so insecure of people guessing the solution by looking at test cases than why create such guessable problems

  • »
    »
    4 недели назад, # ^ |
      Проголосовать: нравится +18 Проголосовать: не нравится

    In case you are talking about Permutation Cycle Queries.

    My Opinion
»
4 недели назад, # |
  Проголосовать: нравится +18 Проголосовать: не нравится

In PRISON it should be made more clear what to output when there are no prisoners or guarenteed that there is at lease one prisoner. I chose some random negative values and got WA first.

»
4 недели назад, # |
  Проголосовать: нравится +21 Проголосовать: не нравится

Great Problemset. I learned alot.

»
4 недели назад, # |
  Проголосовать: нравится +8 Проголосовать: не нравится

3outin1 had me..loved this one

»
4 недели назад, # |
Rev. 2   Проголосовать: нравится +8 Проголосовать: не нравится

What a creativity in writing countRBS problem, really awesome. I mean doable with both string hashing and tree hashing