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

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

Hello Codeforces!!

I, on behalf of Code Chronicles 1.0 Team, would like to invite you to take part in first ever contest hosted by collaboration of IIIT's (IIIT Pune & IIIT Bhopal), which will take place on Friday, June 19, 2020 at 20:00 ISTUTC+5.5. It is a 2.5 hr long contest. The contest will be open to everyone. We'd be offering you 8 problems with varying difficulties.

PRIZES : 250 Codechef Laddus each to Top 3 Global & Special Goodies for Top 3 IIIT ians.

Contest Link : Code Chronicles 1.0

I would really like to thank:

I hope you will enjoy solving the problems. Please give your feedback on the problem set in the comments below, after the contest.

Upd 1: Editorials have been published for all problems except PWCP-COCR101, which will be published by tomorrow.

Upd 2: Editorial for PWCP has been published. You can check it out below.

Upd 3: Prizes (250 Laddus) have been credited. Congratulations to the winners!

  1. uwi
  2. Egor
  3. BohdanPastuschak

Top IIIT ians :

  1. aneesh2312
  2. sudoBug
  3. agrawal117

Editorials :
Marking the borders-COCR104
Champak and Clocks-COCR105
Sharing is Caring-COCR106
Chef and a New Home-COCR103
Odd One Out-COCR107
Time Travel-COCR102
Maze Runner-COCR108
PWCP-COCR101

About the discrepency in Marking the borders question :

There was a discrepancy in one of the input files for the question, Marking the borders. There was a single line missing in the input file. Even then many participants got accepted, but some received WA or TLE. It was a bit surprising about how had it not come up during the testing phase, but after reviewing a couple of solutions which didn't get accepted because of this, we observed that codes using $$$scanf$$$ were getting affected. Unfortunately even though all testers had tested this question, everyone used $$$cin$$$ / $$$cout$$$. We still don't know for sure that if $$$scanf$$$ / $$$cin$$$ thing was the only difference that lead to such a result. Sorry for the inconvenience caused due to this.

We still hope that you enjoyed the problemset though, and thank you for participating!!

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

»
6 лет назад, скрыть # |
← Rev. 3  
Проголосовать: нравится -51 Проголосовать: не нравится

Deleted

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

The contest begins in less than 10 minutes!

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

I am eager to know the solution to the problem Odd one out, i tried using bitset + BIT using xor like think but it was giving TLE .

  • »
    »
    6 лет назад, скрыть # ^ |
    ← Rev. 2  
    Проголосовать: нравится +8 Проголосовать: не нравится

    Segment Tree and bitset gave AC for 0.5 second :-0

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

    Well, I solved it using your approach but included few pragmas to speed it up significantly!

    Code
  • »
    »
    6 лет назад, скрыть # ^ |
     
    Проголосовать: нравится 0 Проголосовать: не нравится

    The idea was to use bitset and segment trees. However I think BIT + bitset should also work fine with small optimizations. You can have a look at the editorial to get a better idea. https://discuss.codechef.com/t/editorial-odd-one-out-cocr107/69314

»
6 лет назад, скрыть # |
 
Проголосовать: нравится +13 Проголосовать: не нравится

Cool problems! How to solve Maze Runner?

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

    I tried using meet in the middle but got TLE, btw nice problems!

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

    I thought of using meet in the middle approach with tries to count ways but it was too much to implement :(

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

    I solved it using meet in the middle and binary search to find the possible combinations.

  • »
    »
    6 лет назад, скрыть # ^ |
     
    Проголосовать: нравится +32 Проголосовать: не нравится
    meet in the middle
»
6 лет назад, скрыть # |
 
Проголосовать: нравится +8 Проголосовать: не нравится

Please unlock solutions

»
6 лет назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +3 Проголосовать: не нравится

The editorial for Maze Runner(COCR108) is out. Link

»
6 лет назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +2 Проголосовать: не нравится
»
6 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Please enable the submit button of each question.

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

Auto comment: topic has been updated by abhi2402 (previous revision, new revision, compare).

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

Auto comment: topic has been updated by abhi2402 (previous revision, new revision, compare).

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

scanf/cin was not a problem imo, because my solution got WA with cin.

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

Auto comment: topic has been updated by darshancool25 (previous revision, new revision, compare).

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

Auto comment: topic has been updated by darshancool25 (previous revision, new revision, compare).