Home > Game > Codeforces Educational Round 84 C – Game with Chips | Competitive Coding

Codeforces Educational Round 84 C – Game with Chips | Competitive Coding

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 –

Nguồn: https://summerlyn-apts.com

Xem thêm bài viết khác: https://summerlyn-apts.com/game/

12 Responses

  1. Amitoj Singh Ahuja

    i am not able to understand how all chips got to first cell instead only the chip in the last col and first row reached the first cell because while moving towards first cell we just took a path which is covering last column and first row


    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);

  3. Samad Khan

    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"

Leave a Reply