In this series, Pulkit Chhabra, an avid programmer from DTU with offers from Amazon, Goldman Sachs & Codenation and master on Codeforces, discusses solution/approach to problem 1327-C, Game with Chips of Codeforces Global Round 84 held on 23 March 2020

The series will cover solutions to all problems from A to E

Stay Updated and Keep Learning!
Watch entire Playlist –

Subscribe the channel and press the bell icon for notifications 🔔

Contest Link :

Solution Link:

Want to learn more? Check out Competitive Programming Track 👉

————————- About Coding Blocks —————————-
Check courses on – [Free Trial Available]

Coding Blocks India’s best Programming and software training institute offers courses like C++ and Java, Data Structures and Algorithms, Web and Android Development(Java and Kotlin), Competitive Programming, Coding Interview Preparation and Machine Learning, AI and more. Registration open for Online and Offline Coding classes. Take advantage of the professionals who have worked with bigwigs like Sony, Cyanogen, Micromax.

#Programming #Coding #OnlineLearning

Like our Facebook Page –
Follow us on Instagram –
Follow us on Twitter –
Source code available on –
LinkedIn Profile –
For more interesting tutorials –


Xem thêm bài viết khác:


  • Ifran 07
    Posted May 11, 2020 9:47 pm


    Posted May 11, 2020 9:47 pm

    sir, I follow your code and I can't understand the meaning of some lines in your code
    Please explain the purpose of these lines———————————————————–
    1) mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
    2) #define pw(b,p) pow(b,p) + 0.1
    (why pow + 0.1 ???)

    3) #define ps(x,y) fixed<<setprecision(y)<<x
    4) ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);

  • Sunny Sinha
    Posted May 11, 2020 9:47 pm

    arrey bahut kharab lag gaya solution dekh kar… ban sakta thha

  • Samad Khan
    Posted May 11, 2020 9:47 pm

    Sir in the problem it is given
    If the chip was in the (x,y) cell, then after the operation:

    left, its coordinates will be (x,y−1);
    right, its coordinates will be (x,y+1);
    down, its coordinates will be (x+1,y);
    up, its coordinates will be (x−1,y).

    Then to go LEFT why we are not using "U"; Same for RIGHT we should use "D"

  • Dhruvil Patel
    Posted May 11, 2020 9:47 pm

    please continue this process of discussing codeforces solutions regularly. Thanks for the solution.

  • Impulse
    Posted May 11, 2020 9:47 pm

    waiting for problem E 🙂

  • Bhanu Pratap Singh
    Posted May 11, 2020 9:47 pm

    please upload the solution of E. Count The Blocks also

  • jeet ganatra
    Posted May 11, 2020 9:47 pm

    Excellent approach !!

  • Rakesh Gupta
    Posted May 11, 2020 9:47 pm

    Very clear solution. Thanks a lot!

  • Saksham Sethi
    Posted May 11, 2020 9:47 pm

    This is problem C

  • Tanishq Gupta
    Posted May 11, 2020 9:47 pm

    Bhaiya this is problem c not problem b

Leave a comment