CommonLounge is a community of learners who learn together. Get started with the featured resources above, ask questions and discuss related stuff with everyone.
Tricks and Tweaks to code quickly and efficiently
This discussion is for expanding your array of maneuvers needed to code quickly and efficiently.
The first and most important thing that I'd like to discuss about is the C++ STL. Learning it would enable you to code up an assortment of algorithms and complicated data structures in a matter of seconds.
You can learn to use the C++ STL from the following amazing sites:
Studytonight : Contains syntax and examples for most of the STL containers and algorithms.
Sanfoundry : Shows how to implement what you've learnt in complete programs
Topcoder(Highly recommended) : This place teaches yo...
I recently came across Keshav Dhandhania on Quora on how to prepare for the IOI if aiming for gold, and I was wondering since I already have about 3 years of scratch (Programming language), how long would it take me to become an IOI gold medalist if I learn C++ in maybe a month or a few weeks since I know scratch already, what would be the first thing I should do, should I only learn algorithms and not data structures, how should I prepare for USACO bronze, how to get to USACO summer camp, what websites should I use if I'm going to be aiming for IOI gold medal? This is my first year attempting competitive programming, I have a deep, deep, passion for computer science, it's sort of like an addiction, I've coded with scratch for 17 hours one day, how would a driven person like me get an IOI gold medal with no math procurement awards?
P.S here's the link for the post I seen on Quora if ...
I am actually not able to understand a portion from the editorial of Zio 2013 (Q4,iiipart).
I am attaching the image below and also sharing link with you all.
Problem(Task we have to do):-There are some tasks to be completed and some tasks are dependent on some other tasks i.e we have to do the dependent task before doing the current task (Note :it is not necessary to do it immediately before ). Find the number of ways to complete all the tasks which satisfies the above condition
Problem(I am facing):- In this editorial I am not able to understand that what are the 6 groups the person has made in task 5 (I have underlined the step also) and how he is ensuring that 6C3 will give the correct answer.