Alternating Colored Paths - Editorial
Problem Link:ContestPracticeAuthor:Saurabh HotaTestor:Rajat DeEditorialist:Rishav PatiDifficulty: Easy Topics: Depth First Search, CountingProblem:- Given a tree of size $n$ ($1 \le n \le 10^5$) with...
View Articleimproving program execution time
do recursive programs are less time taking than iterative ones??
View ArticleWhy do I get a SIGSEGV?
Why I am getting a runtime error SIGSEGV in the problem? Where I am going wrong?
View ArticleHow can i solve the problem?
There are an interesting problem https://community.topcoder.com/stat?c=problem_statement&pm=2384&rd=4755Here is the tutorial...
View ArticleTEST - Editorial
PROBLEM LINK:PracticeAuthor:ADMINEditorialist:SUSHANT AGARWALDIFFICULTY:CAKEWALKPREREQUISITES:Basic looping,Basic Input/OutputPROBLEM:Rewrite small numbers from input to output. Stop processing input...
View ArticleQPAIR - Editorial
PROBLEM LINK:PracticeContestAuthor:Lalit KunduEditorialist:Animesh FatehpuriaDIFFICULTY:MediumPREREQUISITES:Segment TreePROBLEM:Given a sequence $P$ of $N$ pairs of integers and $Q$ queries of the form...
View ArticleBWCELL - Editorial
PROBLEM LINKPracticeContestPanel MembersProblem Setter:Sunny AggarwalProblem Tester:Pushkar MishraEditorialist:Prateek GuptaContest Admin:Praveen Dhinwa and Pushkar MishraRussian Translator:Sergey...
View ArticleWhat are karma points?
I am new to this karma system, Can you explain me why is it called so? What has karma points got to do with contribution?
View ArticleSMPLSUM - Editorial
PROBLEM LINK:PracticeContestAuthor:Kirill ShchetininTester:Istvan NagyEditorialist:XellosDIFFICULTY:EASYPREREQUISITES:Factorisation using the sieve of Erathostenes.PROBLEM:You're given many values of...
View ArticleKCONNECT - Editorial
PROBLEM LINKPracticeContestPanel MembersProblem Setter:Sunny AggarwalProblem Tester:Pushkar MishraEditorialist:Prateek GuptaContest Admin:Praveen Dhinwa and Pushkar MishraRussian Translator:Sergey...
View ArticleCan anyone help me in finding the bug/bugs?
I tried almost 4 hours trying to find the bugs in my solution to the problem -SPOJ Problem.It is a simple Lazy-Propagation Sum Queries problem.Here's my Code - CODE
View ArticleHow do I use unordered_map?
I have been using maps a lot lately.Recently I tried unordered_map. I simply took the same syntax. But changed the declaration to 'unordered_map' instead of 'map'.I shows compilation error. What is the...
View ArticleHow to solve that?
I am trying to solve https://community.topcoder.com/stat?c=problem_statement&pm=2384&rd=4755My code is here http://pastebin.com/Y1GtwPg8My solution fails in last two given test cases . how to...
View ArticleQMAXTRIX - Editorial
PROBLEM LINKPracticeContestPanel MembersProblem Setter:Amit PandeyProblem Tester:Pushkar MishraEditorialist:Prateek GuptaContest Admin:Praveen Dhinwa and Pushkar MishraRussian Translator:Sergey...
View ArticleTREEPROD - Editorial
PROBLEM LINKPracticeContestPanel MembersProblem Setter:Amit PandeyProblem Tester:Pushkar MishraEditorialist:Prateek GuptaContest Admin:Praveen Dhinwa and Pushkar MishraRussian Translator:Sergey...
View ArticleThird contest of the IPC's ICPC Programming Series is re-scheduled
We hope you are enjoying our #IPCProgrammingSeries. With 2 out of the 3 contests scheduled in the first leg over, we know you must be eagerly waiting for the 3rd one, which was scheduled for today....
View ArticleEditorial for IPC151B?
Why there is no Editorial for IPC151B contest? I could only see Editorial for QPAIRS question but what about rest?. I appreciate the quality of questions but there need to be editorial for us to learn.
View ArticleDynamic Programming
How to improve in Dynamic Programming? They sometimes seem a lot more different than other problems before looking out into solution, but once after a glance at the solution, the problems look easy....
View ArticleError in Horrible Queries problem
I am unable to find the bug in my code for the implementation of segment tree problemhttp://ideone.com/3bV9eZ
View ArticleThird contest of the IPC's ICPC Programming Series re-scheduled
We hope you are enjoying our #IPCProgrammingSeries. With 2 out of the 3 contests scheduled in the first leg over, we know you must be eagerly waiting for the 3rd one, which was scheduled for today....
View Article